PHP 4.0 Bug #6745 Updated: I can`t upload file in passive mode
| From: | sniper@php.net | Date: | Sat, 28 Oct 2000 09:13:10 +0000 |
| Subject: | PHP 4.0 Bug #6745 Updated: I can`t upload file in passive mode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36215@lists.php.net to get a copy of this message | ||
ID: 6745
Updated by: sniper
Reported By: havoc@lookanswer.com
Status: Feedback
Bug Type: FTP related
Assigned To:
Comments:
I can not reproduce this with latest CVS.
Could you try it out?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-13 22:13:03] havoc@lookanswer.com
upload test
<?
$ftp=ftp_connect("my server");
echo "connectedn";
ftp_login($ftp, "user", "passwd");
ftp_pasv($ftp, true);
ftp_put($ftp, "/test", "/COPYRIGHT", FTP_BINARY);
ftp_quit($ftp);
echo "<br>ok<br>n";
?>
It wrote:
test connected
Warning: ftp_put: No PORT command issued first. in
/usr/local/apache/htdocs/pro.lookanswer.com/docs/up.php on line 9
ok
Modules: ./configure --with-apxs=/apache/bin/apxs --with-mysql --with-pgsql --enable-ftp
--with-openssl --with-mod-charset
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6745