Opened 15 years ago

Last modified 6 years ago

#754 closed Bug report

Intermittent "Could not retrieve directory listing" error

Reported by: yfradkin Owned by:
Priority: normal Component: Other
Keywords: Cc: yfradkin, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

I use FZ client 2.2.9; some settings are:

  • Active mode (i.e. Passive mode unchecked);
  • Yes limit local ports available... lowest=50100,

highest=50103;

  • direct connection (both client and ftp server are within

a company's intranet);

  • server is "ftpd" on HP-UX.

I do the following (repeadtedly): {open FZ; quick
connect; close FZ}. Intermittenly, I get a "Could not
retrieve directory listing" error!

The log follows. Hope it helps.

Thanks!

===================================
===================================
==
| #1. Connect-sucess-close FZ.
===================================
===================================
==
Status: Connecting to sl1510 ...
Trace: FtpControlSocket.cpp(772): OnConnect(0)
OpMode=1 OpState=-1 caller=0x003ac78c
Status: Connected with sl1510. Waiting for welcome
message...
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-1 caller=0x003ac78c
Response: 220 sl1510 FTP server (Version 1.1.214.8
(PHNE_26389) Thu Feb 28 07:17:43 GMT 2002) ready.
Command: USER yfradkin
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=0 caller=0x003ac78c
Response: 331 Password required for yfradkin.
Command: PASS *
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=3 caller=0x003ac78c
Response: 230 User yfradkin logged in.
Command: FEAT
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-13 caller=0x003ac78c
Response: 500 'FEAT': command not understood.
Command: SYST
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-14 caller=0x003ac78c
Response: 215 UNIX Type: L8
Status: Connected
Trace: FtpControlSocket.cpp(3502): ResetOperation
(1) OpMode=1 OpState=-14 caller=0x003ac78c
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",1) OpMode=0 OpState=-1
caller=0x003ac78c
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=0 caller=0x003ac78c
Response: 257 "/ford/sl1510/u/yfradkin" is current
directory.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003ac78c
Command: PORT 128,5,157,192,195,180
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=7 caller=0x003ac78c
Response: 200 PORT command successful.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=7
caller=0x003ac78c
Command: TYPE A
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=8 caller=0x003ac78c
Response: 200 Type set to A.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=8
caller=0x003ac78c
Trace: TransferSocket.cpp(549): SetActive()
caller=0x003af3c4
Command: LIST
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=9 caller=0x003ac78c
Response: 150 Opening ASCII mode data
connection for /usr/bin/ls.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=9
caller=0x003ac78c
Trace: TransferSocket.cpp(410): OnAccept(0)
caller=0x003af3c4
Trace: TransferSocket.cpp(1122): Close()
caller=0x003af3c4
Trace: FtpControlSocket.cpp(1574): TransferEnd(4)
OpMode=4 OpState=10 caller=0x003ac78c
Trace: FtpControlSocket.cpp(917): List(TRUE,0,"","",0)
OpMode=4 OpState=10 caller=0x003ac78c
Trace: total 32
Trace: drwxr-xr-x 5 yfradkin users 8192 Oct 14
08:27 ampl
Trace: drwxr-xr-x 2 yfradkin users 96 Sep 1
13:19 fortran
Trace: drwx------ 2 yfradkin users 8192 Oct 4
11:45 nsmail
Trace: drwxr-xr-x 2 yfradkin users 96 Nov 15
09:26 qq
Trace: TransferSocket.cpp(91): ~CTransferSocket()
caller=0x003af3c4
Trace: TransferSocket.cpp(1122): Close()
caller=0x003af3c4
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=10 caller=0x003ac78c
Response: 226 Transfer complete.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=10
caller=0x003ac78c
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3502): ResetOperation
(1) OpMode=4 OpState=10 caller=0x003ac78c

===================================
===================================
==
| #2. Connect-unsucess-close FZ.
===================================
===================================
==
Status: Connecting to sl1510 ...
Trace: FtpControlSocket.cpp(772): OnConnect(0)
OpMode=1 OpState=-1 caller=0x003ac78c
Status: Connected with sl1510. Waiting for welcome
message...
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-1 caller=0x003ac78c
Response: 220 sl1510 FTP server (Version 1.1.214.8
(PHNE_26389) Thu Feb 28 07:17:43 GMT 2002) ready.
Command: USER yfradkin
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=0 caller=0x003ac78c
Response: 331 Password required for yfradkin.
Command: PASS *
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=3 caller=0x003ac78c
Response: 230 User yfradkin logged in.
Command: FEAT
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-13 caller=0x003ac78c
Response: 500 'FEAT': command not understood.
Command: SYST
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-14 caller=0x003ac78c
Response: 215 UNIX Type: L8
Status: Connected
Trace: FtpControlSocket.cpp(3502): ResetOperation
(1) OpMode=1 OpState=-14 caller=0x003ac78c
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",1) OpMode=0 OpState=-1
caller=0x003ac78c
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=0 caller=0x003ac78c
Response: 257 "/ford/sl1510/u/yfradkin" is current
directory.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003ac78c
Trace: TransferSocket.cpp(1122): Close()
caller=0x003af41c
Trace: FtpControlSocket.cpp(3502): ResetOperation
(4) OpMode=4 OpState=7 caller=0x003ac78c
Trace: TransferSocket.cpp(91): ~CTransferSocket()
caller=0x003af41c
Trace: TransferSocket.cpp(1122): Close()
caller=0x003af41c
Error: Could not retrieve directory listing

===================================
===================================
==
| #3. Connect-sucess-close FZ.
===================================
===================================
==
Status: Connecting to sl1510 ...
Trace: FtpControlSocket.cpp(772): OnConnect(0)
OpMode=1 OpState=-1 caller=0x003a4c4c
Status: Connected with sl1510. Waiting for welcome
message...
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-1 caller=0x003a4c4c
Response: 220 sl1510 FTP server (Version 1.1.214.8
(PHNE_26389) Thu Feb 28 07:17:43 GMT 2002) ready.
Command: USER yfradkin
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=0 caller=0x003a4c4c
Response: 331 Password required for yfradkin.
Command: PASS *
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=3 caller=0x003a4c4c
Response: 230 User yfradkin logged in.
Command: FEAT
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-13 caller=0x003a4c4c
Response: 500 'FEAT': command not understood.
Command: SYST
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=1 OpState=-14 caller=0x003a4c4c
Response: 215 UNIX Type: L8
Status: Connected
Trace: FtpControlSocket.cpp(3502): ResetOperation
(1) OpMode=1 OpState=-14 caller=0x003a4c4c
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",1) OpMode=0 OpState=-1
caller=0x003a4c4c
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=0 caller=0x003a4c4c
Response: 257 "/ford/sl1510/u/yfradkin" is current
directory.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003a4c4c
Command: PORT 128,5,157,192,195,180
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=7 caller=0x003a4c4c
Response: 200 PORT command successful.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=7
caller=0x003a4c4c
Command: TYPE A
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=8 caller=0x003a4c4c
Response: 200 Type set to A.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=8
caller=0x003a4c4c
Trace: TransferSocket.cpp(549): SetActive()
caller=0x003aee9c
Command: LIST
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=9 caller=0x003a4c4c
Response: 150 Opening ASCII mode data
connection for /usr/bin/ls.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=9
caller=0x003a4c4c
Trace: TransferSocket.cpp(410): OnAccept(0)
caller=0x003aee9c
Trace: TransferSocket.cpp(1122): Close()
caller=0x003aee9c
Trace: FtpControlSocket.cpp(1574): TransferEnd(4)
OpMode=4 OpState=10 caller=0x003a4c4c
Trace: FtpControlSocket.cpp(917): List(TRUE,0,"","",0)
OpMode=4 OpState=10 caller=0x003a4c4c
Trace: total 32
Trace: drwxr-xr-x 5 yfradkin users 8192 Oct 14
08:27 ampl
Trace: drwxr-xr-x 2 yfradkin users 96 Sep 1
13:19 fortran
Trace: drwx------ 2 yfradkin users 8192 Oct 4
11:45 nsmail
Trace: drwxr-xr-x 2 yfradkin users 96 Nov 15
09:26 qq
Trace: TransferSocket.cpp(91): ~CTransferSocket()
caller=0x003aee9c
Trace: TransferSocket.cpp(1122): Close()
caller=0x003aee9c
Trace: FtpControlSocket.cpp(640): OnReceive(0)
OpMode=4 OpState=10 caller=0x003a4c4c
Response: 226 Transfer complete.
Trace: FtpControlSocket.cpp(917): List
(FALSE,0,"","",0) OpMode=4 OpState=10
caller=0x003a4c4c
Status: Directory listing successful
Trace: FtpControlSocket.cpp(3502): ResetOperation
(1) OpMode=4 OpState=10 caller=0x003a4c4c
===================================
===================================
==

Change History (3)

comment:1 Changed 15 years ago by Tim Kosse

What does happen if you increase the available port range?

comment:2 Changed 15 years ago by yfradkin

Increased the available port range to 5100 ... 5110.
Intermittent "Could not retrieve directory listing" still occurs
(not as often as originally). I couldn't figure out a definite
repetition pattern.

comment:3 Changed 14 years ago by Tim Kosse

This bug report has been closed due to inactivity and has possibly
already been solved.

You can reopen this report if the issue still exists in the
latest version of FileZilla (Server).

Note: See TracTickets for help on using tickets.