php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6745 I can`t upload file in passive mode
Submitted: 2000-09-13 22:13 UTC Modified: 2000-11-01 04:37 UTC
From: havoc at lookanswer dot com Assigned:
Status: Closed Package: FTP related
PHP Version: 4.0.3pl1 OS: FreeBSD 4.1.1 STABLE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: havoc at lookanswer dot com
New email:
PHP Version: OS:

 

 [2000-09-13 22:13 UTC] havoc at lookanswer dot com
upload test

<?
  $ftp=ftp_connect("my server");
  echo "connected\n";
  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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-28 05:13 UTC] sniper@php.net
I can not reproduce this with latest CVS. 
Could you try it out? 

--Jani
 [2000-10-30 04:33 UTC] havoc at lookanswer dot com
I try in on PHP 4.0.3pl1 with no luck.
Maybe it proftd bug, but other ftp clients fork fine.
 [2000-10-31 20:22 UTC] sniper@php.net
User feedback (28.10.2000) :
------------------------
Maybe it proftpd-1.2.0 RC2 bug
On proftpd-1.2.0-pre10 all work fine.
I will check it on monday
------------------------

Is it working now?

--Jani
 [2000-11-01 02:07 UTC] havoc at lookanswer dot com
No

I will try configure proftpd for working in acive mode

I think, you can drop this bug report.
 [2000-11-01 04:37 UTC] derick@php.net
I confirm that this is an proftpd bug,
pre10 works fine.

On the users request I'll close this report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC