Playstation 2 FTP server won't transfer directory listing

Advertisement

dilweed
Guest

Playstation 2 FTP server won't transfer directory listing

My gut feel is "LIST -a" isn't supported using uLaunchELF's embedded FTP server.

WinSCP log:
Session name: anonymous@192.168.1.7
Host name: 192.168.1.7 (Port: 21)
User name: anonymous (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
FTP: Passive: Yes
Local directory: default, Remote directory: home, Update: No, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 1
--------------------------------------------------------------------------
Connecting to 192.168.1.7 ...
Connected with 192.168.1.7. Waiting for welcome message...
220 ps2ftpd ready.
USER anonymous
230 User logged in.
SYST
215 UNIX Type: L8
FEAT
500 Not understood.
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/"
Getting current directory name.
Retrieving directory listing...
TYPE A
200 Command successful.
PASV
227 Entering passive mode (192,168,1,7,16,16).
LIST -a
500 Unable to open directory.
Could not retrieve directory listing
(ECommand) Error listing directory '/'.
Could not retrieve directory listing
Unable to open directory.
Startup conversation with host finished.
150 Opening ASCII connection.
226 Command successful.
226 Command successful.

FileZilla Log (for comparison):
Status: Connecting to 192.168.1.7 ...
Status: Connected with 192.168.1.7. Waiting for welcome message...
Response: 220 ps2ftpd ready.
Command: USER anonymous
Response: 230 User logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 500 Not understood.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE A
Response: 200 Command successful.
Command: PORT 192,168,1,30,13,162
Response: 200 Command successful.
Command: LIST
Response: 150 Opening ASCII connection.
Response: 226 Command successful.
Status: Directory listing successful

Thanks!
-Tom

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,650
Location:
Prague, Czechia

Re: Playstation 2 FTP server won't transfer directory listing

Thanks for your report. I'll check it.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,650
Location:
Prague, Czechia

Re: Playstation 2 FTP server won't transfer directory listing

This has been fixed in 4.0.4.

Reply with quote

srg814
Guest

PORT command

I need to connect to an old FTP server that only supports active mode.

When using active mode, WinSCP must send the PORT commmand, otherwise I can't get the directory listing.

I tried with FileZilla with active mode selected and it works without problems, so I presume the bug is not in the LIST command but in the PORT command.

-
Thanks.
srg814

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,650
Location:
Prague, Czechia

Re: PORT command

srg814 wrote:

I tried with FileZilla with active mode selected and it works without problems, so I presume the bug is not in the LIST command but in the PORT command.
Can you post a log file showing the problem?
_________________
Martin Prikryl

Reply with quote

Advertisement

srg814
Guest

Re: PORT command

martin wrote:

srg814 wrote:

I tried with FileZilla with active mode selected and it works without problems, so I presume the bug is not in the LIST command but in the PORT command.
Can you post a log file showing the problem?

Hello.

Further tests made with several FTP clients, namely, Filezilla, CuteFTP, wget, Total Commander and WinSCP, shows that the problem lies in the listing format of the server.

I could only get the remote listing correctly with Total Commander, after defining the server type.
Check the screen dump of the Total Commander option "Define server type" for a directory listing format send by this server.

<invalid hyperlink removed by admin>

Log of the session with Total Commander:

----------
Connect to: (10-02-2008 19:08:43)
hostname=123.123.123.123
username=user
startdir=\
220 ftp server ready
USER user
331 password required for user
PASS ***********
230 user user logged in
SYST
502 SYST command not available
FEAT
502 FEAT command not available
CWD \
250 CWD comm and ok
Connect ok!
PWD
257 "\" is current directory
Get directory
TYPE A
200 Type set to A.
PORT 123,123,123,123,5,42
200 PORT comm and ok
LIST
150 Opening data connection for LIST (123.123.123.123,5003) (0 bytes).
Download
Waiting for server...
226 Transfer complete

Regards,
srg814

Reply with quote

Advertisement

You can post new topics in this forum