commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19547] New: - FTPClient.enterLocalPassiveMode() does noet work
Date Fri, 02 May 2003 10:09:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19547>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19547

FTPClient.enterLocalPassiveMode() does noet work

           Summary: FTPClient.enterLocalPassiveMode() does noet work
           Product: Commons
           Version: 1.0 Final
          Platform: All
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: pranas.baliuka@danet.lt


Test :
...
ftp = new FTPClient();
ftp.addProtocolCommandListener(new ProtocolCommandListener() {...});
ftp.enterLocalPassiveMode();
ftp.connect(host);
ftp.login(username, password);
ftp.changeWorkingDirectory(remoteDir);
InputStream is = ...;
ftp.storeFile(fileName,is);
Result:

Reply code=220 Command=null Message=220 ProFTPD 1.2.2rc2 Server (PSDI Guest) 
[xxx]
Reply code=0 Command=USER Message=USER rrrr
Reply code=331 Command=null Message=331 Password required for rrrr.
Reply code=0 Command=PASS Message=PASS eeee
Reply code=230 Command=null Message=230 User rrrrlogged in.
Reply code=0 Command=CWD Message=CWD /xxx/yyy/
Reply code=250 Command=null Message=250 CWD command successful.
Reply code=0 Command=PORT Message=PORT 134,101,212,4,18,162
Reply code=200 Command=null Message=200 PORT command successful.
Reply code=0 Command=STOR Message=STOR file.ext

There are no "PASV" coomand in the trace!

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message