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 38055] New: - FTP Client fails to retrieve file list
Date Tue, 27 Dec 2005 19:58:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38055>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38055

           Summary: FTP Client fails to retrieve file list
           Product: Commons
           Version: 1.4 Final
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Net
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: pcgscrap@comcast.net


[
  using commons-net-1.4.1.jar
  jsdk 1.4.2_08
]

a) Both ftp servers require authorization.
b) login and authorization complete successfully.
c) change of working directory completes successfully.
d) At the end is the connection log using FileZilla to connect to ftp servers.
e) Both of the fetches below fail when a file exists in directory:

FTPListParseEngine engine = this.initiateListParsing();
FTPFile[] m_files = engine.getFiles();

OR 

FTPFile[] m_files = this.listFiles();

where THIS = the org.apache.commons.net.ftp.FTPClient

Any ideas why I can't get a file list?

*********** FileZilla Connection Log ***************
*********** I replace server names/ips with <HOST (A or B)> ***********

Status:	Connecting to <HOSTA> ...
Status:	Connected with <HOSTA>. Waiting for welcome message...
Response:	220 ProFTPD 1.2.10 Server (<HOSTA>) [<HOSTA>]
Command:	USER myusername
Response:	331 Password required for filer.
Command:	PASS ******
Response:	230 User myusername logged in.
Command:	FEAT
Response:	211-Features:
Response:	 MDTM
Response:	 REST STREAM
Response:	 SIZE
Response:	211 End
Command:	SYST
Response:	215 UNIX Type: L8
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is current directory.
Command:	TYPE A
Response:	200 Type set to A
Command:	PASV
Response:	227 Entering Passive Mode (<HOSTA IP LIST>).
Command:	LIST
Response:	150 Opening ASCII mode data connection for file list
Response:	226 Transfer complete.
Status:	Directory listing successful
Command:	TYPE I
Response:	200 Type set to I
Command:	PWD
Response:	257 "/" is current directory.
Command:	REST 0
Response:	350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
Command:	REST 0
Response:	350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
Status:	Disconnected from server
Status:	Connecting to <HOSTB> ...
Status:	Connected with <HOSTB>. Waiting for welcome message...
Response:	220 <HOSTB> NcFTPd Server (licensed copy) ready.
Command:	USER myusername
Response:	331 User myusername okay, need password.
Command:	PASS **********
Response:	230-You are user #5 of 150 simultaneous users allowed.
Response:	230-
Response:	230 Restricted user logged in.
Command:	FEAT
Response:	211-Extensions supported:
Response:	 CLNT
Response:	 LANG EN*
Response:	 MDTM
Response:	 MLST
Type*;Size*;Modify*;Perm;Unique;UNIX.mode*;UNIX.owner;UNIX.uid;UNIX.group;UNIX.gid;
Response:	 PASV
Response:	 REST STREAM
Response:	 SIZE
Response:	 UTF8
Response:	 TVFS
Response:	 Compliance Level: 20040701 (IETF mlst-16)
Response:	211 End.
Command:	CLNT FileZilla
Response:	200 Noted.
Command:	OPTS UTF8 ON
Response:	501 Option not recognized.
Command:	SYST
Response:	215 UNIX Type: L8
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is cwd.
Command:	TYPE A
Response:	200 Type okay.
Command:	PASV
Response:	227 Entering Passive Mode (<HOSTB IP List>)
Command:	LIST
Response:	150 Data connection accepted from <CLIENT>:1229; transfer starting.
Response:	226 Listing completed.
Status:	Directory listing successful
Command:	TYPE A
Response:	200 Type okay.
Status:	Disconnected from server

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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