0
Not a bug

Some files are treated as folders

leandrodiassis 3 years ago updated by Vlad R 2 months ago 7

Hi people,


Some files are being displayed as folders, however they are ISO extension files. When I try to manipulate them, the "Error: Invalid Folder" popup.

Answer

Answer
Not a bug

armv7l is a 32 bit CPU thus you are running a 32 bit platform. You're file size handling will be limited to around 4GB and all larger files will be, as you can see, unmanageable. You should consider switching to a 64 bit platform if you wish to have support for these large files.


P.S. I will remove your posted screenshots as they contain information you might not want to have public.

Under review

Your report doesn't provide any troubleshooting information. Please specify the server type, the file system used, the PHP version, also the location inside FileRun where you took that screenshot from, as one cannot see if that's a regular folder or perhaps a search result.

Server: Raspberry Pi 2 (armv7l) under arch linux

file system: ext4

PHP 7.0.14

Home folder /mnt/case2tb/


Mp4 files too


Answer
Not a bug

armv7l is a 32 bit CPU thus you are running a 32 bit platform. You're file size handling will be limited to around 4GB and all larger files will be, as you can see, unmanageable. You should consider switching to a 64 bit platform if you wish to have support for these large files.


P.S. I will remove your posted screenshots as they contain information you might not want to have public.

Not true. 


Linux has implemented large file support long time ago and it is possible, in fact, to manage files larger than 4GB on an EXT file system running a 32 bit OS over ARMv7l.


So the CPU is not the limiting factor here, but PHP signed 32 bit int implementation is. I'm not an expert in PHP but I think it's possible to overcome that limitation. 

I'm not the dev, but wondering how much effort he should really be putting into overcoming 32-bit limitations instead of other things.

Sure, the dev knows, I've just installed it, tested, discovered a lot of flaws and decided to migrate to an open source alternative.

Listing that lot of flaws would be a useful message ;)