Posted by ImOk on 07/02/06 15:07
My suggestion is you shell out and execute 'ls' and send output to a
txt file and then parse the result if you just need the file size.
Martin wrote:
> Hi all.
> I am developing a filemanager that needs to handle big files. While
> testing on some zipped files of 6-7GB each I noticed that filesize(),
> filemtime() and similar php-functions can't handle fikles larger than
> 2GB. This is true on the two servers I have regular access to (one
> php4-RedHat, the other php5-Fedora).
>
> If there a way to ger around these functions somehow? My fallback plan
> is to use the systems functions and then parse the output-text to get
> at the needed data. Naturally I was looking for a prettier way to do
> it.
>
> I'd appreciate any tips on the subject. thanks.
[Back to original message]
|