You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/05/02 12:09:51 UTC
DO NOT REPLY [Bug 19547] New: -
FTPClient.enterLocalPassiveMode() does noet work
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