Menu

#54 Unable to open files > 5000000 bytes

v1.0_(example)
open
nobody
None
1
2017-09-04
2017-05-20
AS B
No

Hard-coded limit in FileCommander.java prevents opening files larger than 5 000 000 bytes, which causes problems for most PDFs and many audio files. For reading from network shares these files have to be copied to the local filesystem before opening with another file manager, which then requires housekeeping to delete them after use.

if( item.size > 5000000 )
...
FileCommander.this.showError( getString( R.string.too_big_file, _fn ) );

Suggest that the file-size check be made into a toggle-parameter so users can over-ride it when necessary.

Discussion

  • zc2

    zc2 - 2017-05-20

    Ok, but if you want to override the limit why you can't just copy the file to a local folder then open it instead?

     
  • Travis Evans

    Travis Evans - 2017-08-25

    Why should the user need to go through the trouble to do a one-off look at a file? Other Android file managers I've used have no problem with this, and it can be quite convenient. Example: You keep a large media collection on a remote system and want to be able to access files on the fly.

    Besides, 5M bytes is not particularly large by today's standards. We've moved beyond the 1990s. ;-)

     
  • zc2

    zc2 - 2017-09-04

    The new version 1.54.1b2 now has a text edit preference (in the Advanced section) which allows the user to enter the file size threshold.

     

Log in to post a comment.

Monday.com Logo