I have an FTPS server I am trying to connect to that fails with the error "Error: Could not retrieve directory listing". Attached below is the copy of the log (with the address and user names changed to protect the semi-innocent).
It appears that the command PROT P needs to be issued by the client in order to complete the transaction. If I right click in the Message Log window and issue the PROT P command directly then the sessions are successful (see second log attached below).
My question is this: how do I get FileZilla 2.2.10 to issue the PROT P command without having to manually do so? What configuration option am I missing?
Just FYI: The FTP server is FileZilla 0.9.16c
Thanks in advance,
Nomad
----- Unsuccessful -----
Code: Select all
Status: Connecting to ftps1.company.com:990 ...
Status: Connected with ftps1.company.com:990, negotiating SSL connection...
Status: SSL connection established. Waiting for welcome message...
Response: 220-*** Private Computer System ***
Response: 220-
Response: 220 All activity may be monitored and logged without notice.
Command: USER XXXXX
Response: 331 Password required for XXXXX
Command: PASS ********************
Response: 230 Logged on
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: AUTH SSL
Response: AUTH TLS
Response: UTF8
Response: CLNT
Response: 211 End
Command: SYST
Response: 215 UNIX emulated by FileZilla
Status: Connected
Status: Retrieving directory listing...
Command: CWD /
Response: 250 CWD successful. "/" is current directory.
Command: PWD
Response: 257 "/" is current directory.
Command: PASV
Response: 227 Entering Passive Mode (1,2,3,4,19,167)
Command: TYPE A
Response: 200 Type set to A
Command: LIST
Response: 550 PROT P required
Error: Could not retrieve directory listing
Status: Disconnected from server
----- Successful using manual PROT P -----
Code: Select all
Status: Connecting to ftps1.company.com:990 ...
Status: Connected with ftps1.company.com:990, negotiating SSL connection...
Status: SSL connection established. Waiting for welcome message...
Response: 220-*** Private Computer System ***
Response: 220-
Response: 220 All activity may be monitored and logged without notice.
Command: USER XXXXX
Response: 331 Password required for XXXXX
Command: PASS ********************
Response: 230 Logged on
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;
Response: AUTH SSL
Response: AUTH TLS
Response: UTF8
Response: CLNT
Response: 211 End
Command: SYST
Response: 215 UNIX emulated by FileZilla
Status: Connected
Status: Retrieving directory listing...
Command: CWD /
Response: 250 CWD successful. "/" is current directory.
Command: PWD
Response: 257 "/" is current directory.
Command: PASV
Response: 227 Entering Passive Mode (1,2,3,4,19,168)
Command: TYPE A
Response: 200 Type set to A
Command: LIST
Response: 550 PROT P required
Error: Could not retrieve directory listing
Command: PROT P
Response: 200 Protection level set to P
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (1,2,3,4,19,169)
Command: TYPE A
Response: 200 Type set to A
Command: LIST
Response: 150 Connection accepted
Status: SSL connection established
Response: 226 Transfer OK
Status: Directory listing successful
Status: Starting download of /New Bitmap Image.bmp
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (1,2,3,4,19,170)
Command: RETR New Bitmap Image.bmp
Response: 150 Connection accepted
Response: 226 Transfer OK
Status: Download successful
Status: Disconnected from server