Ftp directory not listing query

  • Thread starter Thread starter RoseW
  • Start date Start date
R

RoseW

In the past two weeks the FileZilla software (both previous V2 and current
V3) will NOT list one server storage directory files. There is a connection
and the word LIST appears then various errors will be presented if continued
connections are attempted.
I have Googled the error statements and find that many have this type of
performance but a distinct solution is not evident.

I am managing a friend's website on distant server and I have spoken with
them (twice) The best that tech could offer was to uninstall the FileZilla
software and reinstall. I did that today and used CCleaner afterwards to
ensure no references in the registry nor any XML files stored in the
Application data. Reinstalled a known stable version 2 FileZilla.No
difference.

I can connect successfully to two other servers and see the directory
listing so the same software (FileZilla and the same router Linksy
Wireless-G) only using Windows Xp sp3 firewall but I did put FileZilla in as
an acceptable incoming software, just in case.


Now I have run out of search words to find a solution. Is there a solution
whether FTP software or a specific Active connection configuration rather
than Pasv?

Rose
 
In the past two weeks the FileZilla software (both previous V2
and current
V3) will NOT list one server storage directory files. There is a
connection and the word LIST appears then various errors will be
presented if continued connections are attempted.
I have Googled the error statements and find that many have this
type of performance but a distinct solution is not evident.

I am managing a friend's website on distant server and I have
spoken with them (twice) The best that tech could offer was to
uninstall the FileZilla software and reinstall. I did that today
and used CCleaner afterwards to ensure no references in the
registry nor any XML files stored in the Application data.
Reinstalled a known stable version 2 FileZilla.No difference.

I can connect successfully to two other servers and see the
directory listing so the same software (FileZilla and the same
router Linksy Wireless-G) only using Windows Xp sp3 firewall but I
did put FileZilla in as an acceptable incoming software, just in
case.


Now I have run out of search words to find a solution. Is there a
solution whether FTP software or a specific Active connection
configuration rather than Pasv?

Posting FileZilla's Client/Server dialog (top window) would help here.
Usually errors at this point are Active vs Passive mode problems.
If you are behind a NAT router, then your only choice is Passive Mode.
Make sure that
Edit->Settings->Connection->FTP is set to "Passive Mode"
and
Edit->Settings->Connection->FTP->Passive Mode has the "Use Server's
external IP Address" checked.

HTH,
John
 
John Wunderlich wrote:
| |
|| In the past two weeks the FileZilla software (both previous V2
|| and current
V3) will NOT list one server storage directory files. |
| Posting FileZilla's Client/Server dialog (top window) would help here.
| Usually errors at this point are Active vs Passive mode problems.
| If you are behind a NAT router, then your only choice is Passive Mode.
| Make sure that
| Edit->Settings->Connection->FTP is set to "Passive Mode"
| and
| Edit->Settings->Connection->FTP->Passive Mode has the "Use Server's
| external IP Address" checked.
|
| HTH,
| John

The connection setting has always been on Passive Mode
I dropped back to v 2.2.31 and I don't see the setting 'Use the Server's
external IP address' in the choices.
I have a Linskey router and I can connect to two other servers for web sites
and the directories display immediately. This is in V3 or V2 of FileZilla.
I am connected to this server at nexicom.net. The directory just won't list
and I've been connecting there for 3 years.
This error message resulted in the two attempts while getting these two log
files
"A socket operation was attempted to an unreachable host."


This is the simple dialoque.
Status: Connecting to ftp.delmarcottages.ca ...
Status: Connected with ftp.delmarcottages.ca. Waiting for welcome message...
Response: 220 ProFTPD 1.3.0 Server (ProFTPD) [216.168.96.45]
Command: USER delmar
Response: 331 Password required for delmar.
Command: PASS ******
Response: 230 User delmar logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: CWD /httpdocs/
Response: 250 CWD command successful
Command: PWD
Response: 257 "/httpdocs" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PASV
Response: 227 Entering Passive Mode (216,168,96,45,197,69).
Command: LIST
Error: Transfer channel can't be opened. Reason: A socket operation was
attempted to an unreachable host.
Error: Could not retrieve directory listing

Command: TYPE I

This is the debug dialog:
Status: Connecting to ftp.delmarcottages.ca ...
Trace: FtpControlSocket.cpp(1001): OnConnect(0) OpMode=1 OpState=-1
caller=0x003c9a14
Status: Connected with ftp.delmarcottages.ca. Waiting for welcome message...
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-1
caller=0x003c9a14
Response: 220 ProFTPD 1.3.0 Server (ProFTPD) [216.168.96.45]
Command: USER delmar
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=0
caller=0x003c9a14
Response: 331 Password required for delmar.
Command: PASS ******
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=3
caller=0x003c9a14
Response: 230 User delmar logged in.
Command: SYST
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-14
caller=0x003c9a14
Response: 215 UNIX Type: L8
Command: FEAT
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-13
caller=0x003c9a14
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=1 OpState=-13
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"/httpdocs/","",1) OpMode=0
OpState=-1 caller=0x003c9a14
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=0
caller=0x003c9a14
Response: 257 "/" is current directory.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003c9a14
Command: CWD /httpdocs/
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=1
caller=0x003c9a14
Response: 250 CWD command successful
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=1
caller=0x003c9a14
Command: PWD
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=2
caller=0x003c9a14
Response: 257 "/httpdocs" is current directory.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=2
caller=0x003c9a14
Command: TYPE A
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8
caller=0x003c9a14
Response: 200 Type set to A
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8
caller=0x003c9a14
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7
caller=0x003c9a14
Response: 227 Entering Passive Mode (216,168,96,45,198,192).
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7
caller=0x003c9a14
Trace: TransferSocket.cpp(558): SetActive() caller=0x00eb6544
Command: LIST
Trace: TransferSocket.cpp(446): OnConnect(10065) caller=0x00eb6544
Error: Transfer channel can't be opened. Reason: A socket operation was
attempted to an unreachable host.
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(1969): TransferEnd(68) OpMode=4 OpState=9
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(TRUE,64,"","",0) OpMode=4 OpState=9
caller=0x003c9a14
Trace: TransferSocket.cpp(96): ~CTransferSocket() caller=0x00eb6544
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(3986): ResetOperation(4) OpMode=4 OpState=9
caller=0x003c9a14
Error: Could not retrieve directory listing
Command: REST 0
Error: Timeout detected!
Trace: FtpControlSocket.cpp(1140): DoClose(0) OpMode=0 OpState=-1
caller=0x003c9a14
Trace: FtpControlSocket.cpp(3986): ResetOperation(4100) OpMode=0 OpState=-1
caller=0x003c9a14
Status: Waiting to retry... (5 retries left)
Status: Connecting to ftp.delmarcottages.ca ...
Trace: FtpControlSocket.cpp(1001): OnConnect(0) OpMode=1 OpState=-1
caller=0x003c9a14
Status: Connected with ftp.delmarcottages.ca. Waiting for welcome message...
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-1
caller=0x003c9a14
Response: 220 ProFTPD 1.3.0 Server (ProFTPD) [216.168.96.45]
Command: USER delmar
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=0
caller=0x003c9a14
Response: 331 Password required for delmar.
Command: PASS ******
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=3
caller=0x003c9a14
Response: 230 User delmar logged in.
Command: SYST
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-14
caller=0x003c9a14
Response: 215 UNIX Type: L8
Command: FEAT
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-13
caller=0x003c9a14
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=1 OpState=-13
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",1) OpMode=0
OpState=-1 caller=0x003c9a14
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=0
caller=0x003c9a14
Response: 257 "/" is current directory.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003c9a14
Command: TYPE A
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8
caller=0x003c9a14
Response: 200 Type set to A
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8
caller=0x003c9a14
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7
caller=0x003c9a14
Response: 227 Entering Passive Mode (216,168,96,45,198,239).
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7
caller=0x003c9a14
Trace: TransferSocket.cpp(558): SetActive() caller=0x00eb6544
Command: LIST
Trace: TransferSocket.cpp(446): OnConnect(10065) caller=0x00eb6544
Error: Transfer channel can't be opened. Reason: A socket operation was
attempted to an unreachable host.
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(1969): TransferEnd(68) OpMode=4 OpState=9
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(TRUE,64,"","",0) OpMode=4 OpState=9
caller=0x003c9a14
Trace: TransferSocket.cpp(96): ~CTransferSocket() caller=0x00eb6544
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(3986): ResetOperation(4) OpMode=4 OpState=9
caller=0x003c9a14
Error: Could not retrieve directory listing
Command: TYPE A
Error: Timeout detected!
Trace: FtpControlSocket.cpp(1140): DoClose(0) OpMode=0 OpState=-1
caller=0x003c9a14
Trace: FtpControlSocket.cpp(3986): ResetOperation(4100) OpMode=0 OpState=-1
caller=0x003c9a14
Status: Waiting to retry... (4 retries left)
Status: Connecting to ftp.delmarcottages.ca ...
Trace: FtpControlSocket.cpp(1001): OnConnect(0) OpMode=1 OpState=-1
caller=0x003c9a14
Status: Connected with ftp.delmarcottages.ca. Waiting for welcome message...
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-1
caller=0x003c9a14
Response: 220 ProFTPD 1.3.0 Server (ProFTPD) [216.168.96.45]
Command: USER delmar
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=0
caller=0x003c9a14
Response: 331 Password required for delmar.
Command: PASS ******
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=3
caller=0x003c9a14
Response: 230 User delmar logged in.
Command: SYST
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-14
caller=0x003c9a14
Response: 215 UNIX Type: L8
Command: FEAT
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=1 OpState=-13
caller=0x003c9a14
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Trace: FtpControlSocket.cpp(3986): ResetOperation(1) OpMode=1 OpState=-13
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",1) OpMode=0
OpState=-1 caller=0x003c9a14
Status: Retrieving directory listing...
Command: PWD
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=0
caller=0x003c9a14
Response: 257 "/" is current directory.
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=0
caller=0x003c9a14
Command: TYPE A
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8
caller=0x003c9a14
Response: 200 Type set to A
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8
caller=0x003c9a14
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7
caller=0x003c9a14
Response: 227 Entering Passive Mode (216,168,96,45,199,23).
Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7
caller=0x003c9a14
Trace: TransferSocket.cpp(558): SetActive() caller=0x00eb6544
Command: LIST
Trace: TransferSocket.cpp(446): OnConnect(10065) caller=0x00eb6544
Error: Transfer channel can't be opened. Reason: A socket operation was
attempted to an unreachable host.
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(1969): TransferEnd(68) OpMode=4 OpState=9
caller=0x003c9a14
Trace: FtpControlSocket.cpp(1213): List(TRUE,64,"","",0) OpMode=4 OpState=9
caller=0x003c9a14
Trace: TransferSocket.cpp(96): ~CTransferSocket() caller=0x00eb6544
Trace: TransferSocket.cpp(1125): Close() caller=0x00eb6544
Trace: FtpControlSocket.cpp(3986): ResetOperation(4) OpMode=4 OpState=9
caller=0x003c9a14
Error: Could not retrieve directory listing
Command: REST 0
Error: Timeout detected!
Trace: FtpControlSocket.cpp(1140): DoClose(0) OpMode=0 OpState=-1
caller=0x003c9a14
Trace: FtpControlSocket.cpp(3986): ResetOperation(4100) OpMode=0 OpState=-1
caller=0x003c9a14
Status: Waiting to retry... (3 retries left)



http://rwgallery.gogax.com/index.html
 
John said:
Posting FileZilla's Client/Server dialog (top window) would help
here. Usually errors at this point are Active vs Passive mode
problems. If you are behind a NAT router, then your only choice
is Passive Mode. Make sure that
Edit->Settings->Connection->FTP is set to "Passive Mode" and
Edit->Settings->Connection->FTP->Passive Mode has the "Use
Server's external IP Address" checked.

HTH,
John

The connection setting has always been on Passive Mode
I dropped back to v 2.2.31 and I don't see the setting 'Use the
Server's external IP address' in the choices.
I have a Linskey router and I can connect to two other servers for
web sites and the directories display immediately. This is in V3
or V2 of FileZilla. I am connected to this server at nexicom.net.
The directory just won't list and I've been connecting there for 3
years. This error message resulted in the two attempts while
getting these two log files
"A socket operation was attempted to an unreachable host."


This is the simple dialoque.
Status: Connecting to ftp.delmarcottages.ca ...
Status: Connected with ftp.delmarcottages.ca. Waiting for welcome
message... Response: 220 ProFTPD 1.3.0 Server (ProFTPD)
[216.168.96.45] Command: USER delmar
Response: 331 Password required for delmar.
Command: PASS ******
Response: 230 User delmar logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: CWD /httpdocs/
Response: 250 CWD command successful
Command: PWD
Response: 257 "/httpdocs" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PASV
Response: 227 Entering Passive Mode (216,168,96,45,197,69).
Command: LIST
Error: Transfer channel can't be opened. Reason: A socket
operation was attempted to an unreachable host.
Error: Could not retrieve directory listing

I can see nothing wrong with this sequence...
My guess is the problem is at the server.

Sorry,
John
 
John Wunderlich wrote:
Rose wrote:
|| Status: Connected
|| Status: Retrieving directory listing...
|| Command: PWD
|| Response: 257 "/" is current directory.
|| Command: CWD /httpdocs/
|| Response: 250 CWD command successful
|| Command: PWD
|| Response: 257 "/httpdocs" is current directory.
|| Command: TYPE A
|| Response: 200 Type set to A
|| Command: PASV
|| Response: 227 Entering Passive Mode (216,168,96,45,197,69).
|| Command: LIST
|| Error: Transfer channel can't be opened. Reason: A socket
|| operation was attempted to an unreachable host.
|| Error: Could not retrieve directory listing
|
| I can see nothing wrong with this sequence...
| My guess is the problem is at the server.
|
| Sorry,
| John


Thanks for checking. I had come to the same conclusion but its asking the
correct question at the server end. I have spoken to their support dept.
twice but the tech. who answers really isn't versed in FTP. He did transfer
and inquire of the FTP manager and the response was that all things were
working.

I can get into the site using their web service and upload one file at a
time. I think I'll double check the permission codes on my set up for that
site and another thought is reboot the router.
Perhaps e-mailing that server the ftp log and requesting the host service
manager to consider possiblities might be the path to take at this point
because I have run out of 'key phrases' to direct the thinking at that end
<grin>.
Rose
 
Thanks for checking. I had come to the same conclusion but its
asking the correct question at the server end. I have spoken to
their support dept. twice but the tech. who answers really isn't
versed in FTP. He did transfer and inquire of the FTP manager and
the response was that all things were working.

I can get into the site using their web service and upload one
file at a time. I think I'll double check the permission codes on
my set up for that site and another thought is reboot the router.
Perhaps e-mailing that server the ftp log and requesting the host
service manager to consider possiblities might be the path to take
at this point because I have run out of 'key phrases' to direct
the thinking at that end <grin>.
Rose

My next step at this point would be to use a packet-capturing program
such as freeware Wireshark to capture the packets involved and
analyze where this is breaking down.

<http://www.wireshark.org/>

HTH,
John
 
Back
Top