500 Not understood while connecting to PS2 FTP server

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
eddan
226 Transfer OK
Posts: 423
Joined: 2004-02-25 08:44
Location: Norway

500 Not understood while connecting to PS2 FTP server

#1 Post by eddan » 2006-06-19 22:56

Hi!

Just wanted to hear if someone else have tried using FZ to connect to their playstation2 ftp server (ps2ftpd) or if botg can make it work. I've tried both active and passive mode, and I'm connected directly (twisted cable) to the PS2. Connecting with FlashFXP works, but FZ and the command-line app "ftp" that comes with MS Windows don't.

Log from FileZilla (active mode):

Code: Select all

Status:	Connecting to 192.168.0.10 ...
Trace:	FtpControlSocket.cpp(990): OnConnect(0)  OpMode=1 OpState=-1   caller=0x003fd0e4
Status:	Connected with 192.168.0.10. Waiting for welcome message...
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-1   caller=0x003fd0e4
Response:	220 ps2ftpd ready.
Command:	USER anonymous
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=0   caller=0x003fd0e4
Response:	220 modified by SlicStik__
Command:	SYST
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-14   caller=0x003fd0e4
Response:	230 Login ok.
Command:	FEAT
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-13   caller=0x003fd0e4
Response:	215 UNIX Type: L8
Status:	Connected
Trace:	FtpControlSocket.cpp(3975): ResetOperation(1)  OpMode=1 OpState=-13   caller=0x003fd0e4
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	500 Not understood.
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",1)  OpMode=0 OpState=-1   caller=0x003fd0e4
Status:	Retrieving directory listing...
Command:	PWD
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",0)  OpMode=4 OpState=0   caller=0x003fd0e4
Trace:	FtpControlSocket.cpp(3975): ResetOperation(4)  OpMode=4 OpState=0   caller=0x003fd0e4
Error:	Could not retrieve directory listing
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	257 "/" is current directory.
Command:	REST 0
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	500 Not understood.
Command:	PWD
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	257 "/" is current directory.
Command:	TYPE I
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	200 Type set to I.
Command:	REST 0
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	500 Not understood.
Command:	REST 0
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	500 Not understood.
Command:	PWD
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	257 "/" is current directory.
Command:	TYPE A
And passive mode:

Code: Select all

Status:	Connecting to 192.168.0.10 ...
Trace:	FtpControlSocket.cpp(990): OnConnect(0)  OpMode=1 OpState=-1   caller=0x003fd0e4
Status:	Connected with 192.168.0.10. Waiting for welcome message...
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-1   caller=0x003fd0e4
Response:	220 ps2ftpd ready.
Command:	USER anonymous
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=0   caller=0x003fd0e4
Response:	220 modified by SlicStik__
Command:	SYST
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-14   caller=0x003fd0e4
Response:	230 Login ok.
Command:	FEAT
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=1 OpState=-13   caller=0x003fd0e4
Response:	215 UNIX Type: L8
Status:	Connected
Trace:	FtpControlSocket.cpp(3975): ResetOperation(1)  OpMode=1 OpState=-13   caller=0x003fd0e4
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=0 OpState=-1   caller=0x003fd0e4
Response:	500 Not understood.
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",1)  OpMode=0 OpState=-1   caller=0x003fd0e4
Status:	Retrieving directory listing...
Command:	PWD
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=4 OpState=0   caller=0x003fd0e4
Response:	257 "/" is current directory.
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",0)  OpMode=4 OpState=0   caller=0x003fd0e4
Command:	TYPE A
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=4 OpState=8   caller=0x003fd0e4
Response:	200 Type set to A.
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",0)  OpMode=4 OpState=8   caller=0x003fd0e4
Command:	PASV
Trace:	FtpControlSocket.cpp(812): OnReceive(0)  OpMode=4 OpState=7   caller=0x003fd0e4
Response:	500 Could not enter passive mode.
Trace:	FtpControlSocket.cpp(1202): List(FALSE,0,"","",0)  OpMode=4 OpState=7   caller=0x003fd0e4
Trace:	FtpControlSocket.cpp(3975): ResetOperation(4)  OpMode=4 OpState=7   caller=0x003fd0e4
Trace:	TransferSocket.cpp(96): ~CTransferSocket()   caller=0x00b1ea0c
Trace:	TransferSocket.cpp(1107): Close()   caller=0x00b1ea0c
Error:	Could not retrieve directory listing
And from FlashFXP:

Code: Select all

WinSock 2.0 -- OpenSSL 0.9.7g 11 Apr 2005
[R] Connecting to 192.168.0.10 -> IP=192.168.0.10 PORT=21
[R] Connected to 192.168.0.10
[R] 220 ps2ftpd ready.
[R] USER anonymous
[R] 220 modified by SlicStik__
[R] SYST
[R] 230 Login ok.
[R] FEAT
[R] 215 UNIX Type: L8
[R] REST 100
[R] 500 Not understood.
[R] This site may not allow file resuming
[R] PWD
[R] 500 Not understood.
[R] TYPE A
[R] 257 "/" is current directory.
[R] PASV
[R] 200 Type set to A.
[R] 500 Could not enter passive mode.
[R] PORT 192,168,0,128,8,160
[R] 200 PORT command successful.
[R] LIST -al
[R] 500 Unable to open directory.
[R] LIST
[R] 150 Opening ASCII mode data connection for file list
[R] 226 LIST command successful.
[R] List Complete: 59 bytes in 0,28 seconds (0,2 KB/s)
I'm guessing ps2ftpd doesn't follow the FTP standards properly, but as it's the only ftp server available for the ps2, I don't have a choice :)

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2006-06-20 06:52

That server is badly broken, it sends two full replies on login. It's supposed to send a single (multi-line) reply.

Post Reply