Re: File complete check (FTP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Tyra wrote:
I don't know the local filezize.
I have only the remote ftp file, uploaded on the server...
PHP runs on the server, so the uploaded file remote ftp file (from the ftp
user) is the file to check...

But you can run filesize() on the file before you upload it to the FTP server, and then filesize() on it afterwards... both from the server... if the two are equal then the file is complete.

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux