note 41917 added to function.ftp-fget
| From: | matthias dot weigand at gmx dot de | Date: | Mon, 26 Apr 2004 09:19:57 +0000 |
| Subject: | note 41917 added to function.ftp-fget | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68812@lists.php.net to get a copy of this message | ||
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...
----
Manual Page -- http://www.php.net/manual/en/function.ftp-fget.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41917
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41917&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41917&report=yes
Search -- http://master.php.net/manage/user-notes.php