sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Oscar Arreyano's Avatar

Re: How to get filesize when stat() fails


Question posted by: Oscar Arreyano (Guest) on October 7th, 2008 05:25 PM

"jimbob" <nospam@virgingmedio.comwrote in message
news:mq7ke45h9hti1fp0c8o693qqrg5kavqk4g@4ax.com...
Quote:
Originally Posted by
>
I'm trying to get a byte count on a fat32 system with files up to 4Gb in
size
but the stat/filesize function fails on large files.
>
I understand this may be related to the PHP limitation of signed integers
but
presumably there is a way to get the info.
>
Can anyone help please?


sprintf('%u', filesize($file));


0 Answers Posted
 
Not the answer you were looking for? Post your question . . .
197,020 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 197,020 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors