You are here: Re: getting file size for really big (10GB) files? « PHP Programming Language « IT news, forums, messages
Re: getting file size for really big (10GB) files?

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация