Re: [PHP] File complete check (FTP)

2005-09-23 Thread Jasper Bryant-Greene
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 se

RE: [PHP] File complete check (FTP)

2005-09-23 Thread Johannes Tyra
; Sent: Friday, September 23, 2005 1:05 AM > To: Johannes Tyra > Subject: Re: [PHP] File complete check (FTP) > > The simplest (albeit a dirtier) method is to just compare the filesize > of the remote file to the local file. > > http://us2.php.net/filesize > > > On 9/22

Re: [PHP] File complete check (FTP)

2005-09-22 Thread cron
How about check file size? Crom - Original Message - From: "Johannes Tyra" <[EMAIL PROTECTED]> To: Sent: Thursday, September 22, 2005 5:04 PM Subject: [PHP] File complete check (FTP) Hello, i want to check if a file (jpg image) is completely uploaded on a server. If checked für the t