I'm still not able to get this to list the directory but I had some time today to make log files. Maybe someone can spot something I'm doing wrong.
This is filezilla which I changed to verbose so it would provide the most logging.
Code:
2011-11-05 11:20:53 4000 3 Status: Connecting to 192.168.254.113:5013...
2011-11-05 11:20:53 4000 3 Status: Connection established, waiting for welcome message...
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 220 tyFTPd 1.1 FTP server ready.
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Command: USER anonymous
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 331 Please specify the password.
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Command: PASS **************
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 230 Login successful.
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Command: SYST
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 215 UNIX Type: L8
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Command: FEAT
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 502 Command not implemented "FEAT".
2011-11-05 11:20:53 4000 3 Status: Connected
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::ResetOperation(0)
2011-11-05 11:20:53 4000 3 Trace: CControlSocket::ResetOperation(0)
2011-11-05 11:20:53 4000 3 Trace: CFileZillaEnginePrivate::ResetOperation(0)
2011-11-05 11:20:53 4000 3 Status: Retrieving directory listing...
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::ChangeDirSend()
2011-11-05 11:20:53 4000 3 Command: PWD
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 257 "/"
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::ResetOperation(0)
2011-11-05 11:20:53 4000 3 Trace: CControlSocket::ResetOperation(0)
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::ParseSubcommandResult(0)
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::ListSubcommandResult()
2011-11-05 11:20:53 4000 3 Trace: state = 1
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferSend()
2011-11-05 11:20:53 4000 3 Trace: state = 1
2011-11-05 11:20:53 4000 3 Command: TYPE I
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 200 I only have TiVo mode.
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferParseResponse()
2011-11-05 11:20:53 4000 3 Trace: code = 2
2011-11-05 11:20:53 4000 3 Trace: state = 1
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferSend()
2011-11-05 11:20:53 4000 3 Trace: state = 2
2011-11-05 11:20:53 4000 3 Command: PASV
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 227 Entering Passive Mode (192,168,254,113,129,188).
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferParseResponse()
2011-11-05 11:20:53 4000 3 Trace: code = 2
2011-11-05 11:20:53 4000 3 Trace: state = 2
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferSend()
2011-11-05 11:20:53 4000 3 Trace: state = 4
2011-11-05 11:20:53 4000 3 Command: LIST
2011-11-05 11:20:53 4000 3 Trace: CTransferSocket::OnConnect
2011-11-05 11:20:53 4000 3 Trace: CTransferSocket::OnReceive(), m_transferMode=0
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::OnReceive()
2011-11-05 11:20:53 4000 3 Response: 150 Opening data channel
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferParseResponse()
2011-11-05 11:20:53 4000 3 Trace: code = 1
2011-11-05 11:20:53 4000 3 Trace: state = 4
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::SendNextCommand()
2011-11-05 11:20:53 4000 3 Trace: CFtpControlSocket::TransferSend()
2011-11-05 11:20:53 4000 3 Trace: state = 5
2011-11-05 11:21:14 4000 3 Error: Connection timed out
2011-11-05 11:21:14 4000 3 Trace: CControlSocket::DoClose(2050)
2011-11-05 11:21:14 4000 3 Trace: CFtpControlSocket::ResetOperation(2114)
2011-11-05 11:21:14 4000 3 Trace: CControlSocket::ResetOperation(2114)
2011-11-05 11:21:14 4000 3 Trace: CFtpControlSocket::ResetOperation(2114)
2011-11-05 11:21:14 4000 3 Trace: CControlSocket::ResetOperation(2114)
2011-11-05 11:21:14 4000 3 Error: Failed to retrieve directory listing
2011-11-05 11:21:14 4000 3 Trace: CFileZillaEnginePrivate::ResetOperation(2114)
2011-11-05 11:21:18 4000 3 Trace: CControlSocket::DoClose(64)
2011-11-05 11:21:18 4000 3 Trace: CControlSocket::DoClose(64)
This is why I got in the telnet terminal.
Code:
11/05/11 17:20:35 - tyFTPd version 1.1 Startup
11/05/11 17:20:35 - Server Ready for Action
11/05/11 17:20:52 - (1184) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 17:20:52 - Now serving 192.168.254.103 port 1184
11/05/11 17:20:52 - (1184) <<< USER anonymous
11/05/11 17:20:52 - (1184) >>> 331 Please specify the password.
11/05/11 17:20:52 - (1184) <<< PASS anon@localhost
11/05/11 17:20:52 - (1184) >>> 230 Login successful.
11/05/11 17:20:52 - (1184) <<< SYST
11/05/11 17:20:52 - (1184) >>> 215 UNIX Type: L8
11/05/11 17:20:52 - (1184) <<< FEAT
11/05/11 17:20:52 - (1184) >>> 502 Command not implemented "FEAT".
11/05/11 17:20:52 - (1184) <<< PWD
11/05/11 17:20:52 - (1184) >>> 257 "/"
11/05/11 17:20:52 - (1184) <<< TYPE I
11/05/11 17:20:52 - (1184) >>> 200 I only have TiVo mode.
11/05/11 17:20:52 - (1184) <<< PASV
11/05/11 17:20:52 - Updating the server ip address from 127,0,0,1...
11/05/11 17:20:52 - Entering Passive mode for ip=192,168,254,113 port=33212
11/05/11 17:20:52 - (1184) >>> 227 Entering Passive Mode (192,168,254,113,129,188).
11/05/11 17:20:52 - In Pasv Accept with {sock16} {sock20} {192.168.254.103} {1185}
11/05/11 17:20:52 - (1184) <<< LIST
11/05/11 17:20:52 - Data Socket Connected
11/05/11 17:20:52 - Suspending timeout for port 1184
11/05/11 17:20:52 - (1184) >>> 150 Opening data channel
This is the application log while I was trying different FTP clients so I don't know which goes with the above. I tried making a fresh log but I can no longer get the application to log even pasting in the command tyftpd.tcl -l -v -d &.
Code:
11/05/11 16:50:33 - tyFTPd version 1.1 Startup
11/05/11 16:50:33 - Server Ready for Action
11/05/11 16:52:30 - (1049) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 16:52:30 - Now serving 192.168.254.103 port 1049
11/05/11 16:52:30 - (1049) <<< USER anonymous
11/05/11 16:52:30 - (1049) >>> 331 Please specify the password.
11/05/11 16:52:30 - (1049) <<< PASS leech@nowhere.org
11/05/11 16:52:30 - (1049) >>> 230 Login successful.
11/05/11 16:52:30 - (1049) <<< REST 1
11/05/11 16:52:30 - (1049) >>> 350 Restart okay, awaiting file retrieval request.
11/05/11 16:52:30 - (1049) <<< REST 0
11/05/11 16:52:30 - (1049) >>> 350 Restart okay, awaiting file retrieval request.
11/05/11 16:52:30 - (1049) <<< SYST
11/05/11 16:52:30 - (1049) >>> 215 UNIX Type: L8
11/05/11 16:52:30 - (1049) <<< PWD
11/05/11 16:52:30 - (1049) >>> 257 "/"
11/05/11 16:52:30 - (1049) <<< PORT 192,168,254,103,4,26
11/05/11 16:52:30 - (1049) >>> 200 PORT OK
11/05/11 16:52:30 - (1049) <<< TYPE A
11/05/11 16:52:30 - (1049) >>> 200 I only have TiVo mode.
11/05/11 16:52:30 - (1049) <<< LIST
11/05/11 16:52:30 - Data Socket Connected
11/05/11 16:52:30 - Suspending timeout for port 1049
11/05/11 16:52:30 - (1049) >>> 150 Opening data channel
11/05/11 17:00:33 - (1145) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 17:00:33 - Now serving 192.168.254.103 port 1145
11/05/11 17:00:33 - (1145) <<< USER anonymous
11/05/11 17:00:33 - (1145) >>> 331 Please specify the password.
11/05/11 17:00:33 - (1145) <<< PASS anon@localhost
11/05/11 17:00:33 - (1145) >>> 230 Login successful.
11/05/11 17:00:33 - (1145) <<< SYST
11/05/11 17:00:33 - (1145) >>> 215 UNIX Type: L8
11/05/11 17:00:33 - (1145) <<< FEAT
11/05/11 17:00:33 - (1145) >>> 502 Command not implemented "FEAT".
11/05/11 17:00:33 - (1145) <<< PWD
11/05/11 17:00:33 - (1145) >>> 257 "/"
11/05/11 17:00:33 - (1145) <<< TYPE I
11/05/11 17:00:33 - (1145) >>> 200 I only have TiVo mode.
11/05/11 17:00:33 - (1145) <<< PASV
11/05/11 17:00:33 - Updating the server ip address from 127,0,0,1...
11/05/11 17:00:33 - Entering Passive mode for ip=192,168,254,113 port=33206
11/05/11 17:00:33 - (1145) >>> 227 Entering Passive Mode (192,168,254,113,129,182).
11/05/11 17:00:33 - (1145) <<< LIST
11/05/11 17:00:33 - In Pasv Accept with {sock20} {sock22} {192.168.254.103} {1146}
11/05/11 17:00:33 - checkDataSock waiting
11/05/11 17:00:33 - Data Socket Connected
11/05/11 17:00:33 - Suspending timeout for port 1145
11/05/11 17:00:33 - (1145) >>> 150 Opening data channel
11/05/11 17:01:48 - (1148) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 17:01:48 - Now serving 192.168.254.103 port 1148
11/05/11 17:01:48 - (1148) <<< USER anonymous
11/05/11 17:01:48 - (1148) >>> 331 Please specify the password.
11/05/11 17:01:48 - (1148) <<< PASS anon@localhost
11/05/11 17:01:48 - (1148) >>> 230 Login successful.
11/05/11 17:01:48 - (1148) <<< PWD
11/05/11 17:01:48 - (1148) >>> 257 "/"
11/05/11 17:01:48 - (1148) <<< TYPE I
11/05/11 17:01:48 - (1148) >>> 200 I only have TiVo mode.
11/05/11 17:01:48 - (1148) <<< PASV
11/05/11 17:01:48 - Entering Passive mode for ip=192,168,254,113 port=33207
11/05/11 17:01:48 - (1148) >>> 227 Entering Passive Mode (192,168,254,113,129,183).
11/05/11 17:01:48 - (1148) <<< LIST
11/05/11 17:01:48 - In Pasv Accept with {sock23} {sock25} {192.168.254.103} {1149}
11/05/11 17:01:48 - checkDataSock waiting
11/05/11 17:01:48 - Data Socket Connected
11/05/11 17:01:48 - Suspending timeout for port 1148
11/05/11 17:01:48 - (1148) >>> 150 Opening data channel
11/05/11 17:02:55 - (1150) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 17:02:55 - Now serving 192.168.254.103 port 1150
11/05/11 17:02:55 - (1150) <<< USER anonymous
11/05/11 17:02:55 - (1150) >>> 331 Please specify the password.
11/05/11 17:02:55 - (1150) <<< PASS anon@localhost
11/05/11 17:02:55 - (1150) >>> 230 Login successful.
11/05/11 17:02:55 - (1150) <<< PWD
11/05/11 17:02:55 - (1150) >>> 257 "/"
11/05/11 17:02:55 - (1150) <<< TYPE I
11/05/11 17:02:55 - (1150) >>> 200 I only have TiVo mode.
11/05/11 17:02:55 - (1150) <<< PASV
11/05/11 17:02:55 - Entering Passive mode for ip=192,168,254,113 port=33208
11/05/11 17:02:55 - (1150) >>> 227 Entering Passive Mode (192,168,254,113,129,184).
11/05/11 17:02:55 - (1150) <<< LIST
11/05/11 17:02:55 - In Pasv Accept with {sock26} {sock28} {192.168.254.103} {1151}
11/05/11 17:02:55 - checkDataSock waiting
11/05/11 17:02:55 - Data Socket Connected
11/05/11 17:02:55 - Suspending timeout for port 1150
11/05/11 17:02:55 - (1150) >>> 150 Opening data channel
11/05/11 17:03:40 - (1152) >>> 220 tyFTPd 1.1 FTP server ready.
11/05/11 17:03:40 - Now serving 192.168.254.103 port 1152
11/05/11 17:03:40 - (1152) <<< USER anonymous
11/05/11 17:03:40 - (1152) >>> 331 Please specify the password.
11/05/11 17:03:40 - (1152) <<< PASS anon@localhost
11/05/11 17:03:40 - (1152) >>> 230 Login successful.
11/05/11 17:03:40 - (1152) <<< PWD
11/05/11 17:03:40 - (1152) >>> 257 "/"
11/05/11 17:03:40 - (1152) <<< TYPE I
11/05/11 17:03:40 - (1152) >>> 200 I only have TiVo mode.
11/05/11 17:03:40 - (1152) <<< PASV
11/05/11 17:03:40 - Entering Passive mode for ip=192,168,254,113 port=33209
11/05/11 17:03:40 - (1152) >>> 227 Entering Passive Mode (192,168,254,113,129,185).
11/05/11 17:03:40 - In Pasv Accept with {sock29} {sock31} {192.168.254.103} {1153}
11/05/11 17:03:40 - (1152) <<< LIST
11/05/11 17:03:40 - Data Socket Connected
11/05/11 17:03:40 - Suspending timeout for port 1152
11/05/11 17:03:40 - (1152) >>> 150 Opening data channel
11/05/11 17:04:22 - Too many connections - 192.168.254.103 port 1154 refused
11/05/11 17:04:22 - (1154) >>> 421 Already serving maximum clients 5.
11/05/11 17:04:22 - Disconnected 192.168.254.103 port 1154
11/05/11 17:04:27 - Too many connections - 192.168.254.103 port 1155 refused
11/05/11 17:04:27 - (1155) >>> 421 Already serving maximum clients 5.
11/05/11 17:04:27 - Disconnected 192.168.254.103 port 1155