note 41917 rejected from function.ftp-fget by nlopess
| From: | nlopess@php.net | Date: | Mon, 26 Apr 2004 13:16:53 +0000 |
| Subject: | note 41917 rejected from function.ftp-fget by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68822@lists.php.net to get a copy of this message | ||
Note Submitter: matthias.weigand@gmx.de
----
Just had to copy from ftp-Server to our webserver.
Our Webserver is running php v.4.3.3 :
I used to copy the file by
ftp_fget($conn_id, $fp, $ftp_file, FTP_BINARY, 1)
((as shown at a samplescript here))
but I just got thise error:
ftp_fget(): REST not compatible with server configuration
after a while I found out that I have to use:
ftp_fget($conn_id, $fp, $ftp_file, FTP_BINARY)
and the sript made it.
I'm not shure who does need the parameter 1 ???
I do not need it...