note 28495 added to function.ftp-put
| From: | mailinglist at genialsoft dot be | Date: | Tue, 14 Jan 2003 22:27:52 +0000 |
| Subject: | note 28495 added to function.ftp-put | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42146@lists.php.net to get a copy of this message | ||
I just try to upload some file with ftp_put and I always received the following error :
"Cannot STOR. Cannot change Port if not closed"
The solution is to set the passive mode on with ftp_pasv($conn_id, true);
--
http://www.php.net/manual/en/function.ftp-put.php
http://master.php.net/manage/user-notes.php?action=edit+28495
http://master.php.net/manage/user-notes.php?action=delete+28495
http://master.php.net/manage/user-notes.php?action=reject+28495