Topic "Could not retrieve directory listing"

Author Message
peter31

Guest


Hello all,
here is my problem , I'm using the last version of Winscp 4.1.7 (buil 413)

When I'm trying to connect to my ftp site I have the "Could not retrieve directory listing" message in the scp window.

See below the logs .

Thanks in advance,
Peter

. 2008-09-29 10:20:02.918 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01eb8064
< 2008-09-29 10:20:02.918 331 User XXXXXXXX, password please
> 2008-09-29 10:20:02.918 PASS ***
. 2008-09-29 10:20:03.028 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01eb8064
< 2008-09-29 10:20:03.028 230 Password Ok, User logged in
> 2008-09-29 10:20:03.028 SYST
. 2008-09-29 10:20:03.137 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01eb8064
< 2008-09-29 10:20:03.262 215 UNIX Type: L8
> 2008-09-29 10:20:03.262 FEAT
. 2008-09-29 10:20:03.262 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eb8064
< 2008-09-29 10:20:03.262 211- Additional features supported include:
< 2008-09-29 10:20:03.262 MDTM
< 2008-09-29 10:20:03.262 SIZE
< 2008-09-29 10:20:03.262 REST STREAM
< 2008-09-29 10:20:03.262 AUTH TLS
< 2008-09-29 10:20:03.262 AUTH SSL
< 2008-09-29 10:20:03.262 PBSZ
< 2008-09-29 10:20:03.262 PROT
< 2008-09-29 10:20:03.278 LANG EN*
< 2008-09-29 10:20:03.278 SITE CHMOD
< 2008-09-29 10:20:03.278 SITE PSWD
< 2008-09-29 10:20:03.278 211 End
. 2008-09-29 10:20:03.278 Connected
. 2008-09-29 10:20:03.278 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01eb8064
. 2008-09-29 10:20:03.278 Got reply 1 to the command 1
. 2008-09-29 10:20:03.278 --------------------------------------------------------------------------
. 2008-09-29 10:20:03.278 Using FTP protocol.
. 2008-09-29 10:20:03.278 Doing startup conversation with host.
. 2008-09-29 10:20:03.278 FtpControlSocket.cpp(1283): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01eb8064
> 2008-09-29 10:20:03.278 PWD
. 2008-09-29 10:20:04.497 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01eb8064
< 2008-09-29 10:20:04.809 257 "/" is the current directory
. 2008-09-29 10:20:04.809 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:04.809 Got reply 1 to the command 16
. 2008-09-29 10:20:04.809 Getting current directory name.
. 2008-09-29 10:20:04.809 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:04.809 Retrieving directory listing...
> 2008-09-29 10:20:04.809 TYPE A
. 2008-09-29 10:20:04.903 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x01eb8064
< 2008-09-29 10:20:04.903 200 Type ASCII
. 2008-09-29 10:20:04.903 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x01eb8064
> 2008-09-29 10:20:05.075 PORT 192,168,0,2,16,104
. 2008-09-29 10:20:05.215 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x01eb8064
< 2008-09-29 10:20:05.215 200 Port command received
. 2008-09-29 10:20:05.215 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x01eb8064
. 2008-09-29 10:20:05.215 TransferSocket.cpp(597): SetActive() caller=0x01ee5130
> 2008-09-29 10:20:05.215 LIST -a
. 2008-09-29 10:20:20.466 Timeout detected.
. 2008-09-29 10:20:20.638 TransferSocket.cpp(1179): Close() caller=0x01ee5130
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(2084): TransferEnd(132) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(1290): List(TRUE,128,"","",0) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 TransferSocket.cpp(108): ~CTransferSocket() caller=0x01ee5130
. 2008-09-29 10:20:20.638 TransferSocket.cpp(1179): Close() caller=0x01ee5130
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(1213): DoClose(0) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 Could not retrieve directory listing
. 2008-09-29 10:20:20.638 Got reply 1004 to the command 2
* 2008-09-29 10:20:20.716 (ESshFatal) Lost connection.
* 2008-09-29 10:20:20.716 Timeout detected.
* 2008-09-29 10:20:20.716 Could not retrieve directory listing
* 2008-09-29 10:20:20.716 Port command received
* 2008-09-29 10:20:20.716 Error listing directory '/'.
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(181): ~CFtpControlSocket() caller=0x01eb8064
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(1213): DoClose(0) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:31.841 ControlSocket.cpp(89): ~CControlSocket() caller=0x01eb8064
Advertisements
peter31

Guest


up ^
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Try using passive mode.
_________________
Martin Prikryl
Peter31

Guest


Hi Martin,
thanks for your answer but it still doesn't work.
Below the logs .

Peter



. 2008-10-03 19:35:20.161 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:20.161 Connected with e3s.ftpaccess.cc. Waiting for welcome message...
. 2008-10-03 19:35:20.411 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x002a42bc
< 2008-10-03 19:35:20.426 220-Cerberus FTP Server Personal Edition
< 2008-10-03 19:35:20.426 220-UNREGISTERED
. 2008-10-03 19:35:20.520 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x002a42bc
< 2008-10-03 19:35:20.520 331 User xxxx, password please
> 2008-10-03 19:35:20.520 PASS ********
. 2008-10-03 19:35:20.629 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x002a42bc
< 2008-10-03 19:35:20.676 230 Password Ok, User logged in
> 2008-10-03 19:35:20.676 SYST
. 2008-10-03 19:35:20.723 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x002a42bc
< 2008-10-03 19:35:20.723 215 UNIX Type: L8
> 2008-10-03 19:35:20.723 FEAT
. 2008-10-03 19:35:20.833 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x002a42bc
< 2008-10-03 19:35:20.833 211- Additional features supported include:
< 2008-10-03 19:35:20.833 MDTM
< 2008-10-03 19:35:20.833 SIZE
< 2008-10-03 19:35:20.833 REST STREAM
< 2008-10-03 19:35:20.833 AUTH TLS
< 2008-10-03 19:35:20.833 AUTH SSL
< 2008-10-03 19:35:20.833 PBSZ
< 2008-10-03 19:35:20.833 PROT
< 2008-10-03 19:35:20.833 LANG EN*
< 2008-10-03 19:35:20.833 SITE CHMOD
< 2008-10-03 19:35:20.833 SITE PSWD
< 2008-10-03 19:35:20.833 211 End
. 2008-10-03 19:35:20.848 Connected
. 2008-10-03 19:35:20.848 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=1 OpState=-13 caller=0x002a42bc
. 2008-10-03 19:35:20.848 Got reply 1 to the command 1
. 2008-10-03 19:35:20.848 --------------------------------------------------------------------------
. 2008-10-03 19:35:20.848 Using FTP protocol.
. 2008-10-03 19:35:20.848 Doing startup conversation with host.
. 2008-10-03 19:35:20.848 FtpControlSocket.cpp(1283): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x002a42bc
> 2008-10-03 19:35:20.848 PWD
. 2008-10-03 19:35:22.192 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x002a42bc
< 2008-10-03 19:35:22.426 257 "/" is the current directory
. 2008-10-03 19:35:22.426 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:22.426 Got reply 1 to the command 16
. 2008-10-03 19:35:22.426 Getting current directory name.
. 2008-10-03 19:35:22.426 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:22.426 Retrieving directory listing...
> 2008-10-03 19:35:22.426 TYPE A
. 2008-10-03 19:35:22.536 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x002a42bc
< 2008-10-03 19:35:22.536 200 Type ASCII
. 2008-10-03 19:35:22.536 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x002a42bc
> 2008-10-03 19:35:22.536 PASV
. 2008-10-03 19:35:22.645 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x002a42bc
< 2008-10-03 19:35:22.770 227 Entering Passive Mode (192,168,1,254,19,137)
. 2008-10-03 19:35:22.770 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x002a42bc
. 2008-10-03 19:35:22.770 TransferSocket.cpp(597): SetActive() caller=0x0027d1dc
> 2008-10-03 19:35:22.770 LIST -a
. 2008-10-03 19:35:25.270 TransferSocket.cpp(481): OnConnect(10061) caller=0x0027d1dc
. 2008-10-03 19:35:25.333 Transfer channel can't be opened. Reason: Aucune connexion n'a pu tre tablie car l'ordinateur cible l'a expressment refuse.
. 2008-10-03 19:35:25.333 TransferSocket.cpp(1179): Close() caller=0x0027d1dc
. 2008-10-03 19:35:25.333 FtpControlSocket.cpp(2084): TransferEnd(6Cool OpMode=4 OpState=9 caller=0x002a42bc
. 2008-10-03 19:35:25.333 FtpControlSocket.cpp(1290): List(TRUE,64,"","",0) OpMode=4 OpState=9 caller=0x002a42bc
. 2008-10-03 19:35:25.333 TransferSocket.cpp(108): ~CTransferSocket() caller=0x0027d1dc
. 2008-10-03 19:35:25.333 TransferSocket.cpp(1179): Close() caller=0x0027d1dc
. 2008-10-03 19:35:25.333 FtpControlSocket.cpp(4198): ResetOperation(4) OpMode=4 OpState=9 caller=0x002a42bc
. 2008-10-03 19:35:25.333 Could not retrieve directory listing
. 2008-10-03 19:35:25.333 Got reply 4 to the command 2
. 2008-10-03 19:35:25.333 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:25.333 Retrieving directory listing...
> 2008-10-03 19:35:25.333 TYPE A
. 2008-10-03 19:35:40.458 Timeout detected.
. 2008-10-03 19:35:40.630 FtpControlSocket.cpp(1213): DoClose(0) OpMode=4 OpState=8 caller=0x002a42bc
. 2008-10-03 19:35:40.630 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=4 OpState=8 caller=0x002a42bc
. 2008-10-03 19:35:40.630 Could not retrieve directory listing
. 2008-10-03 19:35:40.630 Got reply 1004 to the command 2
* 2008-10-03 19:35:40.677 (ESshFatal) Lost connection.
* 2008-10-03 19:35:40.677 Timeout detected.
* 2008-10-03 19:35:40.677 Could not retrieve directory listing
* 2008-10-03 19:35:40.677 Error listing directory '/'.
. 2008-10-03 19:35:47.880 FtpControlSocket.cpp(181): ~CFtpControlSocket() caller=0x002a42bc
. 2008-10-03 19:35:47.880 FtpControlSocket.cpp(1213): DoClose(0) OpMode=0 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:47.880 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x002a42bc
. 2008-10-03 19:35:47.880 ControlSocket.cpp(89): ~CControlSocket() caller=0x002a42bc
Sad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
OK, does it work with any other FTP client?
_________________
Martin Prikryl
Peter31

Guest


Hello Martin,
It works perfectly with the simple command line "ftp" ...

I have'nt tested with another client (I'm an winscp fan Wink )
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you try to disable option Show hidden files?
peter31

Guest


Hello Martin,
that's the same...
I have also unchecked the 2 boxes in the "remote directory" panel ...

Sad
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Ok, can you post a log file with disabled hidden files?
_________________
Martin Prikryl
Peter31

Guest


Hello Martin,
thanks for your help !

see the logs below :

. 2008-10-14 14:03:11.765 --------------------------------------------------------------------------
. 2008-10-14 14:03:11.765 WinSCP Version 4.1.7 (Build 413) (OS 5.1.2600 Service Pack 3)
. 2008-10-14 14:03:11.765 Login time:
. 2008-10-14 14:03:11.765 --------------------------------------------------------------------------
. 2008-10-14 14:03:11.765 Session name: xxx
. 2008-10-14 14:03:11.765 Host name: xxx.ftpserver (Port: 21)
. 2008-10-14 14:03:11.765 User name: xxxx (Password: Yes, Key file: No)
. 2008-10-14 14:03:11.765 Tunnel: No
. 2008-10-14 14:03:11.765 Transfer Protocol: FTP
. 2008-10-14 14:03:11.765 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2008-10-14 14:03:11.765 Proxy: none
. 2008-10-14 14:03:11.765 FTP: Passive: No
. 2008-10-14 14:03:11.765 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-10-14 14:03:11.765 Cache directory changes: Yes, Permanent: Yes
. 2008-10-14 14:03:11.765 DST mode: 1
. 2008-10-14 14:03:11.765 --------------------------------------------------------------------------
. 2008-10-14 14:03:11.984 Connecting to xxx.ftpserver ...
. 2008-10-14 14:03:11.984 FtpControlSocket.cpp(1056): OnConnect(0) OpMode=1 OpState=-1 caller=0x0029c064
. 2008-10-14 14:03:11.984 Connected with e3s.ftpaccess.cc. Waiting for welcome message...
. 2008-10-14 14:03:12.250 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-1 caller=0x0029c064
< 2008-10-14 14:03:12.250 220-Cerberus FTP Server Personal Edition
< 2008-10-14 14:03:12.250 220-UNREGISTERED
< 2008-10-14 14:03:12.250 220-****************************
< 2008-10-14 14:03:12.250 220 ****************************
> 2008-10-14 14:03:12.250 USER xxxx
. 2008-10-14 14:03:12.359 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x0029c064
< 2008-10-14 14:03:12.359 331 User xxxx, password please
> 2008-10-14 14:03:12.359 PASS ********
. 2008-10-14 14:03:12.468 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x0029c064
< 2008-10-14 14:03:12.468 230 Password Ok, User logged in
> 2008-10-14 14:03:12.468 SYST
. 2008-10-14 14:03:12.578 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x0029c064
< 2008-10-14 14:03:12.578 215 UNIX Type: L8
> 2008-10-14 14:03:12.578 FEAT
. 2008-10-14 14:03:12.687 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x0029c064
< 2008-10-14 14:03:12.687 211- Additional features supported include:
< 2008-10-14 14:03:12.687 MDTM
< 2008-10-14 14:03:12.687 SIZE
< 2008-10-14 14:03:12.687 REST STREAM
< 2008-10-14 14:03:12.687 AUTH TLS
< 2008-10-14 14:03:12.687 AUTH SSL
< 2008-10-14 14:03:12.687 PBSZ
< 2008-10-14 14:03:12.687 PROT
< 2008-10-14 14:03:12.687 LANG EN*
< 2008-10-14 14:03:12.687 SITE CHMOD
< 2008-10-14 14:03:12.687 SITE PSWD
< 2008-10-14 14:03:12.687 211 End
. 2008-10-14 14:03:12.687 Connected
. 2008-10-14 14:03:12.687 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=1 OpState=-13 caller=0x0029c064
. 2008-10-14 14:03:12.687 Got reply 1 to the command 1
. 2008-10-14 14:03:12.687 --------------------------------------------------------------------------
. 2008-10-14 14:03:12.687 Using FTP protocol.
. 2008-10-14 14:03:12.687 Doing startup conversation with host.
. 2008-10-14 14:03:12.687 FtpControlSocket.cpp(1283): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x0029c064
> 2008-10-14 14:03:12.687 PWD
. 2008-10-14 14:03:14.093 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x0029c064
< 2008-10-14 14:03:14.093 257 "/" is the current directory
. 2008-10-14 14:03:14.093 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x0029c064
. 2008-10-14 14:03:14.093 Got reply 1 to the command 16
. 2008-10-14 14:03:14.093 Getting current directory name.
. 2008-10-14 14:03:14.093 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x0029c064
. 2008-10-14 14:03:14.093 Retrieving directory listing...
> 2008-10-14 14:03:14.093 TYPE A
. 2008-10-14 14:03:14.203 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x0029c064
< 2008-10-14 14:03:14.203 200 Type ASCII
. 2008-10-14 14:03:14.203 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x0029c064
> 2008-10-14 14:03:14.453 PORT 192,168,0,4,17,209
. 2008-10-14 14:03:14.578 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x0029c064
< 2008-10-14 14:03:14.578 200 Port command received
. 2008-10-14 14:03:14.578 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x0029c064
. 2008-10-14 14:03:14.578 TransferSocket.cpp(597): SetActive() caller=0x0029da94
> 2008-10-14 14:03:14.578 LIST -a
. 2008-10-14 14:03:29.765 Timeout detected.
. 2008-10-14 14:03:29.765 TransferSocket.cpp(1179): Close() caller=0x0029da94
. 2008-10-14 14:03:29.765 FtpControlSocket.cpp(2084): TransferEnd(132) OpMode=4 OpState=9 caller=0x0029c064
. 2008-10-14 14:03:29.765 FtpControlSocket.cpp(1290): List(TRUE,128,"","",0) OpMode=4 OpState=9 caller=0x0029c064
. 2008-10-14 14:03:29.765 TransferSocket.cpp(108): ~CTransferSocket() caller=0x0029da94
. 2008-10-14 14:03:29.765 TransferSocket.cpp(1179): Close() caller=0x0029da94
. 2008-10-14 14:03:29.765 FtpControlSocket.cpp(1213): DoClose(0) OpMode=4 OpState=9 caller=0x0029c064
. 2008-10-14 14:03:29.765 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=4 OpState=9 caller=0x0029c064
. 2008-10-14 14:03:29.765 Could not retrieve directory listing
. 2008-10-14 14:03:29.765 Got reply 1004 to the command 2
* 2008-10-14 14:03:29.781 (ESshFatal) Lost connection.
* 2008-10-14 14:03:29.781 Timeout detected.
* 2008-10-14 14:03:29.781 Could not retrieve directory listing
* 2008-10-14 14:03:29.781 Port command received
* 2008-10-14 14:03:29.781 Error listing directory '/'.
. 2008-10-14 14:03:32.234 FtpControlSocket.cpp(181): ~CFtpControlSocket() caller=0x0029c064
. 2008-10-14 14:03:32.234 FtpControlSocket.cpp(1213): DoClose(0) OpMode=0 OpState=-1 caller=0x0029c064
. 2008-10-14 14:03:32.234 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x0029c064
. 2008-10-14 14:03:32.234 ControlSocket.cpp(89): ~CControlSocket() caller=0x0029c064
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
OK, this problem unfortunately cannot be resolved with current release Sad

This issue is being tracked already.
_________________
Martin Prikryl
peter31

Guest


Now... a nice question...
When will be released the next version ? Wink
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
peter31 wrote:
Now... a nice question...
When will be released the next version ? Wink

Well that's difficult question. But if you give me a contact to you I can send you pre-release version for testing.
_________________
Martin Prikryl
Guest




I have the same problem...

prikryl wrote:
peter31 wrote:
Now... a nice question...
When will be released the next version ? Wink

Well that's difficult question. But if you give me a contact to you I can send you pre-release version for testing.
preisl
[View user's profile]

Joined: 2008-11-03
Posts: 1
Location: Austria
I'm having the same problem - some time frame would be nice, since we need to do some rollout planning Wink

greetings,

Martin
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I'll send you a development version for testing, once it is done. I can take few weeks.
_________________
Martin Prikryl
JtR75
[View user's profile]

Joined: 2008-11-17
Posts: 1
Location: Helsinki, Finland
prikryl wrote:
peter31 wrote:
Now... a nice question...
When will be released the next version ? Wink

Well that's difficult question. But if you give me a contact to you I can send you pre-release version for testing.

Same problem here. Can you send the pre-relese version to me ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
JtR75 wrote:
Same problem here. Can you send the pre-relese version to me ?

Sure.
_________________
Martin Prikryl
upekshapriya
[View user's profile]

Joined: 2008-11-21
Posts: 1
I am also having the same problem and would appreciate you sending me a development version that solves it. Smile
Guest




Hi Martin,
i would like to test (if you have finish it) the pre-released version.

Could you send it ?

Regards,

Peter
peter31
[View user's profile]

Joined: 2008-11-27
Posts: 2
Location: FRANCE
Sorry the last request come from me. (peter31)

Thx to send the pre-released version.
peter31
[View user's profile]

Joined: 2008-11-27
Posts: 2
Location: FRANCE
Hello Martin,
could you please send me a pre-released version ?

Thanks a lot.

Peter
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
peter31 wrote:
could you please send me a pre-released version ?

The problem is not fixed yet.
_________________
Martin Prikryl
Spiriralph

Guest


"Could not retrieve directory listing"
with last ver WinSCP 4.2.1 beta I have the same poblem!?!?!

it connects to other FTP account but on the same HOST it give me this ErroR on second account

Host sayes that all the FTP accounts are the same and there is not any diffrences betwen them!

Why WinScp connects to one account but give an error message when I try to connect to second account on the same Host?????
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Spiriralph wrote:
"Could not retrieve directory listing"
with last ver WinSCP 4.2.1 beta I have the same poblem!?!?!

it connects to other FTP account but on the same HOST it give me this ErroR on second account

Host sayes that all the FTP accounts are the same and there is not any diffrences betwen them!

Why WinScp connects to one account but give an error message when I try to connect to second account on the same Host?????

Please post a full log file showing the problem. Ideally, post a log for both accounts.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
cflui6

Guest


I also encounter the same issue with log like below:

. 2009-04-08 11:24:46.815 --------------------------------------------------------------------------
. 2009-04-08 11:24:46.815 WinSCP Version 4.1.8 (Build 415) (OS 5.2.3790 Service Pack 2)
. 2009-04-08 11:24:46.815 Login time: Wednesday, April 08, 2009 11:24:46 AM
. 2009-04-08 11:24:46.815 --------------------------------------------------------------------------
. 2009-04-08 11:24:46.815 Session name: XXX PROD
. 2009-04-08 11:24:46.815 Host name: 160.99.99.29 (Port: 21)
. 2009-04-08 11:24:46.815 User name: XXXXX (Password: Yes, Key file: No)
. 2009-04-08 11:24:46.815 Tunnel: No
. 2009-04-08 11:24:46.815 Transfer Protocol: FTP
. 2009-04-08 11:24:46.815 Ping type: C, Ping interval: 120 sec; Timeout: 120 sec
. 2009-04-08 11:24:46.815 Proxy: SOCKS5
. 2009-04-08 11:24:46.815 HostName: hksocks02.xxx.yyy.com (Port: 1080); Username: ; Passwd: No
. 2009-04-08 11:24:46.815 FTP: Passive: Yes
. 2009-04-08 11:24:46.815 Local directory: D:\, Remote directory: /, Update: No, Cache: Yes
. 2009-04-08 11:24:46.815 Cache directory changes: Yes, Permanent: Yes
. 2009-04-08 11:24:46.815 DST mode: 1
. 2009-04-08 11:24:46.815 --------------------------------------------------------------------------
. 2009-04-08 11:24:46.846 Connecting to 160.99.99.29 ...
. 2009-04-08 11:24:47.158 Connected with 160.99.99.29. Waiting for welcome message...
< 2009-04-08 11:24:47.471 220 ftp2ny NcFTPd Server (licensed copy) ready.
> 2009-04-08 11:24:47.471 USER XXXXX
< 2009-04-08 11:24:47.799 331 User XXXXX okay, need password.
> 2009-04-08 11:24:47.799 PASS *******
< 2009-04-08 11:24:48.127 230-You are user #34 of 1000 simultaneous users allowed.
< 2009-04-08 11:24:48.549 230-
< 2009-04-08 11:24:48.549 230 Restricted user logged in.
> 2009-04-08 11:24:48.549 SYST
< 2009-04-08 11:24:48.862 215 UNIX Type: L8
> 2009-04-08 11:24:48.862 FEAT
< 2009-04-08 11:24:49.205 211-Extensions supported:
< 2009-04-08 11:24:49.205 CLNT
< 2009-04-08 11:24:49.205 LANG EN*
< 2009-04-08 11:24:49.205 MDTM
< 2009-04-08 11:24:49.205 MFMT
< 2009-04-08 11:24:49.205 MLST Type*;Size*;Modify*;Perm;Unique;UNIX.mode*;UNIX.owner;UNIX.uid;UNIX.group;UNIX.gid;
< 2009-04-08 11:24:49.205 PASV
< 2009-04-08 11:24:49.205 REST STREAM
< 2009-04-08 11:24:49.205 SIZE
< 2009-04-08 11:24:49.205 UTF8
< 2009-04-08 11:24:49.205 TVFS
< 2009-04-08 11:24:49.205 RFC 959 2389 2577 3659
< 2009-04-08 11:24:49.205 211 End.
> 2009-04-08 11:24:49.205 CLNT FileZilla
< 2009-04-08 11:24:49.518 200 Noted.
> 2009-04-08 11:24:49.518 OPTS UTF8 ON
< 2009-04-08 11:24:49.846 501 Option not recognized.
. 2009-04-08 11:24:49.846 Connected
. 2009-04-08 11:24:49.846 Got reply 1 to the command 1
. 2009-04-08 11:24:49.846 --------------------------------------------------------------------------
. 2009-04-08 11:24:49.846 Using FTP protocol.
. 2009-04-08 11:24:49.846 Doing startup conversation with host.
> 2009-04-08 11:24:49.846 PWD
< 2009-04-08 11:24:50.174 257 "/" is cwd.
. 2009-04-08 11:24:50.174 Got reply 1 to the command 16
. 2009-04-08 11:24:50.174 Changing directory to "/".
> 2009-04-08 11:24:50.174 CWD /
< 2009-04-08 11:24:50.487 250 "/" is new cwd.
. 2009-04-08 11:24:50.487 Got reply 1 to the command 16
. 2009-04-08 11:24:50.487 Getting current directory name.
> 2009-04-08 11:24:50.487 PWD
< 2009-04-08 11:24:50.815 257 "/" is cwd.
. 2009-04-08 11:24:50.815 Got reply 1 to the command 16
. 2009-04-08 11:24:50.815 Retrieving directory listing...
> 2009-04-08 11:24:50.815 TYPE A
< 2009-04-08 11:24:51.143 200 Type okay.
> 2009-04-08 11:24:51.143 PASV
< 2009-04-08 11:24:51.471 227 Entering Passive Mode (160,43,94,20,211,101)
> 2009-04-08 11:24:51.471 LIST -a
. 2009-04-08 11:24:51.471 Proxy request failed, can't connect through proxy server
. 2009-04-08 11:24:51.471 Transfer channel can't be opened. Reason: An established connection was aborted by the software in your host machine.
. 2009-04-08 11:24:51.471 Could not retrieve directory listing
. 2009-04-08 11:24:51.471 Got reply 4 to the command 2
. 2009-04-08 11:24:51.471 Retrieving directory listing...
> 2009-04-08 11:24:51.471 TYPE A
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
cflui6 wrote:
I also encounter the same issue with log like below:

...
< 2009-04-08 11:24:51.471 227 Entering Passive Mode (160,43,94,20,211,101)
> 2009-04-08 11:24:51.471 LIST -a
. 2009-04-08 11:24:51.471 Proxy request failed, can't connect through proxy server
. 2009-04-08 11:24:51.471 Transfer channel can't be opened. Reason: An established connection was aborted by the software in your host machine.
...

It is possible that your connection was blocked by firewall.

Also posting log file with higher logging level may provide more information.
_________________
Martin Prikryl
MikeSmitty

Guest


I'm having this same issue using version 4.2.1 on Windows XP SP3 to connect to our FTP server. Our FTP is vsftpd 2.0.5-12.el5_3.1 on CentOS 5.3, fully updated. It worked fine perfectly fine until specifying the PASV port range. Here is the bulk of the vsftpd config, the bold parts changed, causing the problem:

# SSL Config
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem

# Passive Config
pasv_enable=YES
pasv_address=**external ip address**
pasv_min_port=1530
pasv_max_port=1535


I was forced to specify the ports for our firewall, and now WinSCP doesn't connect. I've successfully used other clients (lftp on RHEL 4) to connect to it.

Here is the log:

. 2009-06-01 15:37:48.037 --------------------------------------------------------------------------
. 2009-06-01 15:37:48.037 WinSCP Version 4.2.1 (Build 428) (OS 5.1.2600 Service Pack 3)
. 2009-06-01 15:37:48.037 Login time: Monday, June 01, 2009 3:37:48 PM
. 2009-06-01 15:37:48.037 --------------------------------------------------------------------------
. 2009-06-01 15:37:48.037 Session name: username@ftp.example.com
. 2009-06-01 15:37:48.037 Host name: ftp.example.com (Port: 21)
. 2009-06-01 15:37:48.037 User name: username (Password: Yes, Key file: No)
. 2009-06-01 15:37:48.037 Tunnel: No
. 2009-06-01 15:37:48.037 Transfer Protocol: FTP
. 2009-06-01 15:37:48.037 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2009-06-01 15:37:48.037 Proxy: none
. 2009-06-01 15:37:48.037 FTP: FTPS: Explicit TLS; Passive: Yes
. 2009-06-01 15:37:48.037 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-06-01 15:37:48.037 Cache directory changes: Yes, Permanent: Yes
. 2009-06-01 15:37:48.037 DST mode: 1
. 2009-06-01 15:37:48.037 --------------------------------------------------------------------------
. 2009-06-01 15:37:48.127 Connecting to ftp.example.com ...
. 2009-06-01 15:37:48.137 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 0 to 1 caller=0x01eaa88c
. 2009-06-01 15:37:48.137 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 1 to 2 caller=0x01eaa88c
. 2009-06-01 15:37:48.137 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 2 to 4 caller=0x01eaa88c
. 2009-06-01 15:37:48.137 FtpControlSocket.cpp(1072): OnConnect(0) OpMode=1 OpState=-8 caller=0x01eaa88c
. 2009-06-01 15:37:48.147 Connected with ftp.example.com, negotiating SSL connection...
. 2009-06-01 15:37:48.157 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-8 caller=0x01eaa88c
< 2009-06-01 15:37:48.157 220 (vsFTPd 2.0.5)
> 2009-06-01 15:37:48.157 AUTH TLS
. 2009-06-01 15:37:48.167 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-9 caller=0x01eaa88c
< 2009-06-01 15:37:48.167 234 Proceed with negotiation.
. 2009-06-01 15:37:48.167 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-10 caller=0x01eaa88c
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 read server hello A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 read server certificate A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 read server done A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 write client key exchange A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 write change cipher spec A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 write finished A
. 2009-06-01 15:37:48.177 SSL_connect: SSLv3 flush data
. 2009-06-01 15:37:48.197 SSL_connect: SSLv3 read finished A
. 2009-06-01 15:37:48.197 Using TLSv1, cipher TLSv1/SSLv3: DES-CBC3-SHA, 1024 bit RSA
. 2009-06-01 15:37:48.197 SSL connection established. Waiting for welcome message...
> 2009-06-01 15:37:48.197 USER username
. 2009-06-01 15:37:48.197 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=0 caller=0x01eaa88c
< 2009-06-01 15:37:48.207 331 Please specify the password.
> 2009-06-01 15:37:48.207 PASS ********
. 2009-06-01 15:37:48.247 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=3 caller=0x01eaa88c
< 2009-06-01 15:37:48.247 230 Login successful.
> 2009-06-01 15:37:48.247 SYST
. 2009-06-01 15:37:48.257 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-14 caller=0x01eaa88c
< 2009-06-01 15:37:48.257 215 UNIX Type: L8
> 2009-06-01 15:37:48.257 FEAT
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 211-Features:
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 AUTH SSL
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 AUTH TLS
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 EPRT
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 EPSV
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.267 MDTM
. 2009-06-01 15:37:48.267 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.277 PASV
. 2009-06-01 15:37:48.277 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.277 PBSZ
. 2009-06-01 15:37:48.277 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.277 PROT
. 2009-06-01 15:37:48.277 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.287 REST STREAM
. 2009-06-01 15:37:48.287 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.287 SIZE
. 2009-06-01 15:37:48.287 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.287 TVFS
. 2009-06-01 15:37:48.287 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eaa88c
< 2009-06-01 15:37:48.287 211 End
> 2009-06-01 15:37:48.287 PBSZ 0
. 2009-06-01 15:37:48.287 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-11 caller=0x01eaa88c
< 2009-06-01 15:37:48.287 200 PBSZ set to 0.
> 2009-06-01 15:37:48.287 PROT P
. 2009-06-01 15:37:48.297 FtpControlSocket.cpp(894): OnReceive(0) OpMode=1 OpState=-12 caller=0x01eaa88c
< 2009-06-01 15:37:48.297 200 PROT now Private.
. 2009-06-01 15:37:48.297 Connected
. 2009-06-01 15:37:48.297 FtpControlSocket.cpp(4250): ResetOperation(1) OpMode=1 OpState=-12 caller=0x01eaa88c
. 2009-06-01 15:37:48.297 Got reply 1 to the command 1
. 2009-06-01 15:37:48.297 --------------------------------------------------------------------------
. 2009-06-01 15:37:48.297 Using FTP protocol.
. 2009-06-01 15:37:48.297 Doing startup conversation with host.
. 2009-06-01 15:37:48.297 FtpControlSocket.cpp(1302): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01eaa88c
> 2009-06-01 15:37:48.297 PWD
. 2009-06-01 15:37:48.307 FtpControlSocket.cpp(894): OnReceive(0) OpMode=2 OpState=-1 caller=0x01eaa88c
< 2009-06-01 15:37:48.307 257 "/"
. 2009-06-01 15:37:48.307 FtpControlSocket.cpp(4250): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01eaa88c
. 2009-06-01 15:37:48.307 Got reply 1 to the command 16
. 2009-06-01 15:37:48.307 Getting current directory name.
. 2009-06-01 15:37:48.307 FtpControlSocket.cpp(1309): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x01eaa88c
. 2009-06-01 15:37:48.307 Retrieving directory listing...
> 2009-06-01 15:37:48.307 TYPE A
. 2009-06-01 15:37:48.317 FtpControlSocket.cpp(894): OnReceive(0) OpMode=4 OpState=8 caller=0x01eaa88c
< 2009-06-01 15:37:48.317 200 Switching to ASCII mode.
. 2009-06-01 15:37:48.317 FtpControlSocket.cpp(1309): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x01eaa88c
> 2009-06-01 15:37:48.317 PASV
. 2009-06-01 15:37:48.327 FtpControlSocket.cpp(894): OnReceive(0) OpMode=4 OpState=7 caller=0x01eaa88c
< 2009-06-01 15:37:48.327 227 Entering Passive Mode (12,37,33,11,5,250)
. 2009-06-01 15:37:48.327 FtpControlSocket.cpp(1309): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x01eaa88c
. 2009-06-01 15:37:48.327 TransferSocket.cpp(603): SetActive() caller=0x01ed5438
> 2009-06-01 15:37:48.327 LIST -a
. 2009-06-01 15:38:03.080 Timeout detected.
. 2009-06-01 15:38:03.080 TransferSocket.cpp(1185): Close() caller=0x01ed5438
. 2009-06-01 15:38:03.080 FtpControlSocket.cpp(2103): TransferEnd(132) OpMode=4 OpState=9 caller=0x01eaa88c
. 2009-06-01 15:38:03.080 FtpControlSocket.cpp(1309): List(TRUE,128,"","",0) OpMode=4 OpState=9 caller=0x01eaa88c
. 2009-06-01 15:38:03.080 TransferSocket.cpp(108): ~CTransferSocket() caller=0x01ed5438
. 2009-06-01 15:38:03.080 TransferSocket.cpp(1185): Close() caller=0x01ed5438
. 2009-06-01 15:38:03.080 FtpControlSocket.cpp(1229): DoClose(0) OpMode=4 OpState=9 caller=0x01eaa88c
. 2009-06-01 15:38:03.080 FtpControlSocket.cpp(4250): ResetOperation(4100) OpMode=4 OpState=9 caller=0x01eaa88c
. 2009-06-01 15:38:03.080 Could not retrieve directory listing
. 2009-06-01 15:38:03.080 Got reply 1004 to the command 2
* 2009-06-01 15:38:03.150 (ESshFatal) Lost connection.
* 2009-06-01 15:38:03.150 Timeout detected.
* 2009-06-01 15:38:03.150 Could not retrieve directory listing
* 2009-06-01 15:38:03.150 Entering Passive Mode (external,ip,address,5,250)
* 2009-06-01 15:38:03.150 Error listing directory '/'.
. 2009-06-01 15:38:04.762 FtpControlSocket.cpp(184): ~CFtpControlSocket() caller=0x01eaa88c
. 2009-06-01 15:38:04.762 FtpControlSocket.cpp(1229): DoClose(0) OpMode=0 OpState=-1 caller=0x01eaa88c
. 2009-06-01 15:38:04.762 FtpControlSocket.cpp(4250): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x01eaa88c
. 2009-06-01 15:38:04.762 ControlSocket.cpp(89): ~CControlSocket() caller=0x01eaa88c
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
MikeSmitty wrote:
I'm having this same issue using version 4.2.1 on Windows XP SP3 to connect to our FTP server. Our FTP is vsftpd 2.0.5-12.el5_3.1 on CentOS 5.3, fully updated. It worked fine perfectly fine until specifying the PASV port range. Here is the bulk of the vsftpd config, the bold parts changed, causing the problem:...

Does you external address match the one WinSCP is trying to connect to?
227 Entering Passive Mode (12,37,33,11,5,250)
_________________
Martin Prikryl
MikeSmitty

Guest


prikryl wrote:
MikeSmitty wrote:
I'm having this same issue using version 4.2.1 on Windows XP SP3 to connect to our FTP server. Our FTP is vsftpd 2.0.5-12.el5_3.1 on CentOS 5.3, fully updated. It worked fine perfectly fine until specifying the PASV port range. Here is the bulk of the vsftpd config, the bold parts changed, causing the problem:...

Does you external address match the one WinSCP is trying to connect to?
227 Entering Passive Mode (12,37,33,11,5,250)


Yeah, the address is correct. (I tried changing it in the post for privacy reasons, but I apparently missed it a few times) I'm able to use other clients to connect, but not WinSCP 4.2.1. I've used lftp on RHEL 4, and CoreFTP.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
MikeSmitty wrote:
Yeah, the address is correct. (I tried changing it in the post for privacy reasons, but I apparently missed it a few times) I'm able to use other clients to connect, but not WinSCP 4.2.1. I've used lftp on RHEL 4, and CoreFTP.

Sorry I have no idea what's wrong then.
_________________
Martin Prikryl
Anonymous from China

Guest


I have this problem if I try connecting through OpenVPN to the US. But if I disconnect OpenVPN then there is no problem.
donothaveone

Guest


when I tried coreftp it said it failed but there was a window with yes or no to try active rather than passive. That worked.
CHPEREZ

Guest


i am getting this message
Could not retrieve directory listing / Command PASV failed

. 2011-03-23 11:54:47.343 Connecting to XXX.XX.XXX.XXX:990 ...
. 2011-03-23 11:54:47.453 Connected with XXX.XX.XXX.XXX:990, negotiating SSL connection...
. 2011-03-23 11:54:47.734 SSL connection established. Waiting for welcome message...
< 2011-03-23 11:54:47.734 220 multitransfer X2 WS_FTP Server 6.0(20468750)
> 2011-03-23 11:54:47.734 USER XXXXXXXX
< 2011-03-23 11:54:47.859 331 Enter password
> 2011-03-23 11:54:47.859 PASS ****************
< 2011-03-23 11:54:48.062 230-User logged in
< 2011-03-23 11:54:48.078 WELCOME MESSAGE
< 2011-03-23 11:54:48.078
< 2011-03-23 11:54:48.078 WELCOME MESSAGE
< 2011-03-23 11:54:48.078 230 User logged in
> 2011-03-23 11:54:48.078 SYST
< 2011-03-23 11:54:48.156 215 UNIX
> 2011-03-23 11:54:48.156 FEAT
< 2011-03-23 11:54:48.234 221-Extensions supported
< 2011-03-23 11:54:48.234 SIZE
< 2011-03-23 11:54:48.234 XMD5
< 2011-03-23 11:54:48.234 XSHA1
< 2011-03-23 11:54:48.234 XSHA256
< 2011-03-23 11:54:48.234 XSHA512
< 2011-03-23 11:54:48.234 LANG EN, ES, FR, GE
< 2011-03-23 11:54:48.234 MDTM
< 2011-03-23 11:54:48.234 MLST size*;type*;perm*;create*;modify*;
< 2011-03-23 11:54:48.234 REST STREAM
< 2011-03-23 11:54:48.234 TVFS
< 2011-03-23 11:54:48.234 UTF8
< 2011-03-23 11:54:48.234 AUTH SSL;TLS-P;
< 2011-03-23 11:54:48.234 PBSZ
< 2011-03-23 11:54:48.234 PROT C;P;
< 2011-03-23 11:54:48.234 221 end
> 2011-03-23 11:54:48.234 PBSZ 0
< 2011-03-23 11:54:48.312 200 PBSZ=0
> 2011-03-23 11:54:48.312 PROT P
< 2011-03-23 11:54:48.390 200 PRIVATE data channel protection level set
. 2011-03-23 11:54:48.390 Connected
. 2011-03-23 11:54:48.390 Got reply 1 to the command 1
. 2011-03-23 11:54:48.390 --------------------------------------------------------------------------
. 2011-03-23 11:54:48.390 Using FTP protocol.
. 2011-03-23 11:54:48.390 Doing startup conversation with host.
> 2011-03-23 11:54:48.390 PWD
< 2011-03-23 11:54:48.468 257 "/users/dolexinc" is current directory
. 2011-03-23 11:54:48.468 Got reply 1 to the command 16
. 2011-03-23 11:54:48.468 Getting current directory name.
. 2011-03-23 11:54:48.468 Retrieving directory listing...
> 2011-03-23 11:54:48.468 TYPE A
< 2011-03-23 11:54:48.546 200 Transfer mode set to ASCII
> 2011-03-23 11:54:48.546 PASV
< 2011-03-23 11:54:48.640 550 Command PASV failed
. 2011-03-23 11:54:48.640 Could not retrieve directory listing
. 2011-03-23 11:54:48.640 Got reply 4 to the command 2
. 2011-03-23 11:54:48.640 Retrieving directory listing...
> 2011-03-23 11:54:48.640 TYPE A
< 2011-03-23 11:54:48.718 200 Transfer mode set to ASCII
> 2011-03-23 11:54:48.718 PASV
< 2011-03-23 11:54:48.843 550 Command PASV failed
. 2011-03-23 11:54:48.843 Could not retrieve directory listing
. 2011-03-23 11:54:48.843 Got reply 4 to the command 2
* 2011-03-23 11:54:48.843 (ECommand) Error listing directory '/users/dolexinc'.
* 2011-03-23 11:54:48.843 Could not retrieve directory listing
* 2011-03-23 11:54:48.843 Command PASV failed
. 2011-03-23 11:54:51.843 Startup conversation with host finished.
. 2011-03-23 11:54:52.437 Session upkeep
. 2011-03-23 11:54:52.937 Session upkeep
. 2011-03-23 11:54:53.546 Got reply 1004 to the command 2
. 2011-03-23 11:54:53.546 Disconnected from server
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
CHPEREZ wrote:
i am getting this message
Could not retrieve directory listing / Command PASV failed

Have you tried active mode?
_________________
Martin Prikryl
CHPEREZ

Guest


prikryl wrote:
CHPEREZ wrote:
i am getting this message
Could not retrieve directory listing / Command PASV failed

Have you tried active mode?


Yes, i have and im still getting the same message.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
CHPEREZ wrote:
Yes, i have and im still getting the same message.

Can you post a full log file with active mode?
_________________
Martin Prikryl
guilhermegrg
[View user's profile]

Joined: 2011-04-03
Posts: 3
Location: Portugal
First, just started using WinSCP recently. Great program.

Second, having the same problem as well.

Happening for no reason whatsoever. It occurs randomly during the compare phase as well as the synch phase. If i retry on dialog, it works fine. Have tried passive and active modes, it happens the same anyway.

Here is an example log:

. 2011-04-03 02:23:17.403 WinSCP Version 4.3.2 (Build 1201) (OS 6.1.7600)
. 2011-04-03 02:23:17.403 Login time: domingo, 3 de Abril de 2011 02:23:17
. 2011-04-03 02:23:17.403 --------------------------------------------------------------------------
. 2011-04-03 02:23:17.403 Session name: account@testsite.com
. 2011-04-03 02:23:17.403 Host name: testsite.com (Port: 22)
. 2011-04-03 02:23:17.403 User name: account(Password: Yes, Key file: No)
. 2011-04-03 02:23:17.403 Tunnel: No
. 2011-04-03 02:23:17.403 Transfer Protocol: FTP
. 2011-04-03 02:23:17.404 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-04-03 02:23:17.404 Proxy: none
. 2011-04-03 02:23:17.404 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: No]
. 2011-04-03 02:23:17.404 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-04-03 02:23:17.404 Cache directory changes: Yes, Permanent: Yes
. 2011-04-03 02:23:17.404 DST mode: 1
. 2011-04-03 02:23:17.404 --------------------------------------------------------------------------
. 2011-04-03 02:23:17.757 Connecting to testsite.com:22 ...
. 2011-04-03 02:23:17.861 Connected with testsite.com:22, negotiating SSL connection...
. 2011-04-03 02:23:19.077 SSL connection established. Waiting for welcome message...
< 2011-04-03 02:23:19.077 220-FileZilla Server version 0.9.37 beta
< 2011-04-03 02:23:19.077 220-written by Tim Kosse (Tim.Kosse@gmx.de)
< 2011-04-03 02:23:19.077 220 Please visit http://sourceforge.net/projects/filezilla/
> 2011-04-03 02:23:19.077 USER windsoradmin
< 2011-04-03 02:23:19.171 331 Password required for account
> 2011-04-03 02:23:19.171 PASS **********************
< 2011-04-03 02:23:19.266 230 Logged on
> 2011-04-03 02:23:19.266 SYST
< 2011-04-03 02:23:19.361 215 UNIX emulated by FileZilla
> 2011-04-03 02:23:19.361 FEAT
< 2011-04-03 02:23:19.460 211-Features:
< 2011-04-03 02:23:19.460 MDTM
< 2011-04-03 02:23:19.460 REST STREAM
< 2011-04-03 02:23:19.460 SIZE
< 2011-04-03 02:23:19.460 MLST type*;size*;modify*;
< 2011-04-03 02:23:19.460 MLSD
< 2011-04-03 02:23:19.460 AUTH SSL
< 2011-04-03 02:23:19.461 AUTH TLS
< 2011-04-03 02:23:19.461 PROT
< 2011-04-03 02:23:19.461 PBSZ
< 2011-04-03 02:23:19.461 UTF8
< 2011-04-03 02:23:19.461 CLNT
< 2011-04-03 02:23:19.461 MFMT
< 2011-04-03 02:23:19.461 211 End
> 2011-04-03 02:23:19.461 PBSZ 0
< 2011-04-03 02:23:19.555 200 PBSZ=0
> 2011-04-03 02:23:19.555 PROT P
< 2011-04-03 02:23:19.649 200 Protection level set to P
. 2011-04-03 02:23:19.651 Connected
. 2011-04-03 02:23:19.651 --------------------------------------------------------------------------
. 2011-04-03 02:23:19.651 Using FTP protocol.
. 2011-04-03 02:23:19.651 Doing startup conversation with host.
> 2011-04-03 02:23:19.653 PWD
< 2011-04-03 02:23:19.749 257 "/" is current directory.
. 2011-04-03 02:23:19.750 Getting current directory name.
. 2011-04-03 02:23:19.751 Startup conversation with host finished.
< 2011-04-03 02:23:19.752 Script: Active session: [1] account@testsite.com
> 2011-04-03 02:23:19.758 Script: option transfer binary
< 2011-04-03 02:23:19.759 Script: transfer binary
> 2011-04-03 02:23:19.761 Script: synchronize remote -delete C:\update
< 2011-04-03 02:23:19.761 Script: Comparing...
. 2011-04-03 02:23:19.763 Collecting synchronization list for local directory 'C:\update' and remote directory '/', mode = 0, params = 3
. 2011-04-03 02:23:19.765 Retrieving directory listing...
> 2011-04-03 02:23:19.765 TYPE A
< 2011-04-03 02:23:19.860 200 Type set to A
> 2011-04-03 02:23:19.861 PASV
< 2011-04-03 02:23:19.957 227 Entering Passive Mode (46,137,103,153,39,26)
> 2011-04-03 02:23:19.957 LIST -a
< 2011-04-03 02:23:20.151 150 Connection accepted
. 2011-04-03 02:23:20.555 SSL connection established
< 2011-04-03 02:23:20.556 226 Transfer OK
. 2011-04-03 02:23:20.557 Directory listing successful
. 2011-04-03 02:23:20.562 Collecting synchronization list for local directory 'C:\update\docs' and remote directory '/docs', mode = 0, params = 3
. 2011-04-03 02:23:20.566 Retrieving directory listing...
> 2011-04-03 02:23:20.566 CWD /docs/
< 2011-04-03 02:23:20.661 250 CWD successful. "/docs" is current directory.
> 2011-04-03 02:23:20.661 PWD
< 2011-04-03 02:23:20.758 257 "/docs" is current directory.
> 2011-04-03 02:23:20.758 TYPE A
< 2011-04-03 02:23:20.852 200 Type set to A
> 2011-04-03 02:23:20.853 PASV
< 2011-04-03 02:23:20.951 227 Entering Passive Mode (46,137,103,153,39,27)
> 2011-04-03 02:23:20.952 LIST -a
< 2011-04-03 02:23:21.175 150 Connection accepted
. 2011-04-03 02:23:21.602 SSL connection established
< 2011-04-03 02:23:21.608 226 Transfer OK
. 2011-04-03 02:23:21.609 Directory listing successful
. 2011-04-03 02:23:21.629 Collecting synchronization list for local directory 'C:\update\docs\com' and remote directory '/docs/com', mode = 0, params = 3
. 2011-04-03 02:23:21.630 Retrieving directory listing...
> 2011-04-03 02:23:21.630 CWD /docs/com/
< 2011-04-03 02:23:21.725 250 CWD successful. "/docs/com" is current directory.
> 2011-04-03 02:23:21.725 PWD
< 2011-04-03 02:23:21.819 257 "/docs/com" is current directory.
> 2011-04-03 02:23:21.819 TYPE A
< 2011-04-03 02:23:21.914 200 Type set to A
> 2011-04-03 02:23:21.915 PASV
< 2011-04-03 02:23:22.009 227 Entering Passive Mode (46,137,103,153,39,2Cool
> 2011-04-03 02:23:22.009 LIST -a
< 2011-04-03 02:23:22.198 150 Connection accepted
. 2011-04-03 02:23:22.623 SSL connection established
< 2011-04-03 02:23:22.625 226 Transfer OK
. 2011-04-03 02:23:22.625 Directory listing successful
. 2011-04-03 02:23:22.626 Collecting synchronization list for local directory 'C:\update\docs\com\flashmoto' and remote directory '/docs/com/flashmoto', mode = 0, params = 3
. 2011-04-03 02:23:22.627 Retrieving directory listing...
> 2011-04-03 02:23:22.627 CWD /docs/com/flashmoto/
< 2011-04-03 02:23:22.725 250 CWD successful. "/docs/com/flashmoto" is current directory.
> 2011-04-03 02:23:22.725 PWD
< 2011-04-03 02:23:22.829 257 "/docs/com/flashmoto" is current directory.
> 2011-04-03 02:23:22.830 TYPE A
< 2011-04-03 02:23:22.928 200 Type set to A
> 2011-04-03 02:23:22.929 PASV
< 2011-04-03 02:23:23.046 227 Entering Passive Mode (46,137,103,153,39,29)
> 2011-04-03 02:23:23.046 LIST -a
< 2011-04-03 02:23:23.235 150 Connection accepted
. 2011-04-03 02:23:23.602 SSL connection established
< 2011-04-03 02:23:23.603 226 Transfer OK
. 2011-04-03 02:23:23.603 Directory listing successful
. 2011-04-03 02:23:23.603 Collecting synchronization list for local directory 'C:\update\docs\com\flashmoto\template' and remote directory '/docs/com/flashmoto/template', mode = 0, params = 3
. 2011-04-03 02:23:23.607 Retrieving directory listing...
> 2011-04-03 02:23:23.607 CWD /docs/com/flashmoto/template/
< 2011-04-03 02:23:23.704 250 CWD successful. "/docs/com/flashmoto/template" is current directory.
> 2011-04-03 02:23:23.704 PWD
< 2011-04-03 02:23:23.799 257 "/docs/com/flashmoto/template" is current directory.
> 2011-04-03 02:23:23.799 TYPE A
< 2011-04-03 02:23:23.894 200 Type set to A
> 2011-04-03 02:23:23.895 PASV
< 2011-04-03 02:23:23.990 227 Entering Passive Mode (46,137,103,153,39,30)
> 2011-04-03 02:23:23.990 LIST -a
< 2011-04-03 02:23:24.179 150 Connection accepted
. 2011-04-03 02:23:24.542 SSL connection established
< 2011-04-03 02:23:24.543 226 Transfer OK
. 2011-04-03 02:23:24.544 Directory listing successful




and the bit where it fails and then I press retry:




. 2011-04-03 02:23:56.639 Collecting synchronization list for local directory 'C:\update\windsor\services' and remote directory '/windsor/services', mode = 0, params = 3
. 2011-04-03 02:23:56.640 Retrieving directory listing...
> 2011-04-03 02:23:56.640 CWD /windsor/services/
< 2011-04-03 02:23:56.736 250 CWD successful. "/windsor/services" is current directory.
> 2011-04-03 02:23:56.736 PWD
< 2011-04-03 02:23:56.832 257 "/windsor/services" is current directory.
> 2011-04-03 02:23:56.832 TYPE A
< 2011-04-03 02:23:56.927 200 Type set to A
> 2011-04-03 02:23:56.927 PASV
< 2011-04-03 02:23:57.023 227 Entering Passive Mode (46,137,103,153,39,64)
> 2011-04-03 02:23:57.023 LIST -a
< 2011-04-03 02:23:57.212 150 Connection accepted
. 2011-04-03 02:23:57.574 SSL connection established
. 2011-04-03 02:23:57.575 Could not retrieve directory listing
< 2011-04-03 02:23:57.576 226 Transfer OK
. 2011-04-03 02:23:57.576 Asking user:
. 2011-04-03 02:23:57.576 Error listing directory '/windsor/services'. ("Could not retrieve directory listing","Transfer OK")
. 2011-04-03 02:24:12.735 Retrieving directory listing...
> 2011-04-03 02:24:12.735 TYPE A
< 2011-04-03 02:24:12.830 200 Type set to A
> 2011-04-03 02:24:12.831 PASV
< 2011-04-03 02:24:12.926 227 Entering Passive Mode (46,137,103,153,39,65)
> 2011-04-03 02:24:12.926 LIST -a
< 2011-04-03 02:24:13.113 150 Connection accepted
. 2011-04-03 02:24:13.479 SSL connection established
< 2011-04-03 02:24:13.481 226 Transfer OK
. 2011-04-03 02:24:13.481 Directory listing successful

And then it goes on until it finishes.

Sometimes it occurs multiple times in one script. I have no idea of what's going on, there is no heavy traffic, everything is configured properly on the server.

I can create an account for testing, if needed.

Any help would be greatly appreciated.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
guilhermegrg wrote:
First, just started using WinSCP recently. Great program.

Second, having the same problem as well.

Happening for no reason whatsoever. It occurs randomly during the compare phase as well as the synch phase. If i retry on dialog, it works fine. Have tried passive and active modes, it happens the same anyway.

Can you please first try it with 4.2.9? Thanks.
_________________
Martin Prikryl
guilhermegrg
[View user's profile]

Joined: 2011-04-03
Posts: 3
Location: Portugal
Thanks for the reply.

Just tested it with 4.2.9 and the same thing happened.

Any ideas ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you post a full log file (or in the same shortened form as before) from 4.2.9 anyway?
_________________
Martin Prikryl
guilhermegrg
[View user's profile]

Joined: 2011-04-03
Posts: 3
Location: Portugal
Hi

Here is the initial connection log:

. 2011-04-10 12:59:52.353 --------------------------------------------------------------------------
. 2011-04-10 12:59:52.353 WinSCP Version 4.2.9 (Build 938) (OS 6.1.7600)
. 2011-04-10 12:59:52.353 Login time: domingo, 10 de Abril de 2011 12:59:52
. 2011-04-10 12:59:52.353 --------------------------------------------------------------------------
. 2011-04-10 12:59:52.353 Session name: user@ftp.com
. 2011-04-10 12:59:52.353 Host name: ftp.com (Port: 22)
. 2011-04-10 12:59:52.354 User name: user(Password: Yes, Key file: No)
. 2011-04-10 12:59:52.354 Tunnel: No
. 2011-04-10 12:59:52.354 Transfer Protocol: FTP
. 2011-04-10 12:59:52.354 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2011-04-10 12:59:52.355 Proxy: none
. 2011-04-10 12:59:52.355 FTP: FTPS: Implicit SSL/TLS; Passive: Yes [Force IP: No]
. 2011-04-10 12:59:52.355 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-04-10 12:59:52.355 Cache directory changes: Yes, Permanent: Yes
. 2011-04-10 12:59:52.355 DST mode: 1
. 2011-04-10 12:59:52.355 --------------------------------------------------------------------------
. 2011-04-10 12:59:52.664 Connecting to ftp.com:22 ...
. 2011-04-10 12:59:52.876 Connected with ftp.com:22, negotiating SSL connection...
. 2011-04-10 12:59:54.271 SSL connection established. Waiting for welcome message...
< 2011-04-10 12:59:54.271 220-FileZilla Server version 0.9.37 beta
< 2011-04-10 12:59:54.271 220-written by Tim Kosse (Tim.Kosse@gmx.de)
< 2011-04-10 12:59:54.271 220 Please visit http://sourceforge.net/projects/filezilla/
> 2011-04-10 12:59:54.271 USER user
< 2011-04-10 12:59:54.367 331 Password required for user
> 2011-04-10 12:59:54.367 PASS **********************
< 2011-04-10 12:59:54.464 230 Logged on
> 2011-04-10 12:59:54.465 SYST
< 2011-04-10 12:59:54.561 215 UNIX emulated by FileZilla
> 2011-04-10 12:59:54.561 FEAT
< 2011-04-10 12:59:54.659 211-Features:
< 2011-04-10 12:59:54.659 MDTM
< 2011-04-10 12:59:54.659 REST STREAM
< 2011-04-10 12:59:54.660 SIZE
< 2011-04-10 12:59:54.660 MLST type*;size*;modify*;
< 2011-04-10 12:59:54.660 MLSD
< 2011-04-10 12:59:54.660 AUTH SSL
< 2011-04-10 12:59:54.660 AUTH TLS
< 2011-04-10 12:59:54.660 PROT
< 2011-04-10 12:59:54.660 PBSZ
< 2011-04-10 12:59:54.660 UTF8
< 2011-04-10 12:59:54.660 CLNT
< 2011-04-10 12:59:54.660 MFMT
< 2011-04-10 12:59:54.660 211 End
> 2011-04-10 12:59:54.661 PBSZ 0
< 2011-04-10 12:59:54.755 200 PBSZ=0
> 2011-04-10 12:59:54.755 PROT P
< 2011-04-10 12:59:54.851 200 Protection level set to P
. 2011-04-10 12:59:54.852 Connected
. 2011-04-10 12:59:54.852 --------------------------------------------------------------------------
. 2011-04-10 12:59:54.852 Using FTP protocol.
. 2011-04-10 12:59:54.853 Doing startup conversation with host.
> 2011-04-10 12:59:54.855 PWD
< 2011-04-10 12:59:54.951 257 "/" is current directory.
. 2011-04-10 12:59:54.952 Getting current directory name.
. 2011-04-10 12:59:54.953 Startup conversation with host finished.
< 2011-04-10 12:59:54.954 Script: Active session: [1] user@ftp.com
> 2011-04-10 12:59:54.961 Script: option transfer binary
< 2011-04-10 12:59:54.961 Script: transfer binary
> 2011-04-10 12:59:54.964 Script: synchronize remote -delete C:\update
< 2011-04-10 12:59:54.964 Script: Comparing...
. 2011-04-10 12:59:54.966 Collecting synchronization list for local directory 'C:\update' and remote directory '/', mode = 0, params = 3
. 2011-04-10 12:59:54.967 Retrieving directory listing...
> 2011-04-10 12:59:54.968 TYPE A
< 2011-04-10 12:59:55.063 200 Type set to A
> 2011-04-10 12:59:55.064 PASV
< 2011-04-10 12:59:55.159 227 Entering Passive Mode (46,137,103,153,39,64)
> 2011-04-10 12:59:55.160 LIST -a
< 2011-04-10 12:59:55.358 150 Connection accepted
. 2011-04-10 12:59:55.735 SSL connection established
< 2011-04-10 12:59:55.740 226 Transfer OK
. 2011-04-10 12:59:55.741 Directory listing successful



Here's the log near where it failed:

. 2011-04-10 13:00:29.799 Collecting synchronization list for local directory 'C:\update\windsor\reports' and remote directory '/windsor/reports', mode = 0, params = 3
. 2011-04-10 13:00:29.802 Retrieving directory listing...
> 2011-04-10 13:00:29.802 CWD /windsor/reports/
< 2011-04-10 13:00:29.896 250 CWD successful. "/windsor/reports" is current directory.
> 2011-04-10 13:00:29.897 PWD
< 2011-04-10 13:00:29.992 257 "/windsor/reports" is current directory.
> 2011-04-10 13:00:29.992 TYPE A
< 2011-04-10 13:00:30.088 200 Type set to A
> 2011-04-10 13:00:30.088 PASV
< 2011-04-10 13:00:30.184 227 Entering Passive Mode (46,137,103,153,39,9Cool
> 2011-04-10 13:00:30.184 LIST -a
< 2011-04-10 13:00:30.380 150 Connection accepted
. 2011-04-10 13:00:30.747 SSL connection established
< 2011-04-10 13:00:30.749 226 Transfer OK
. 2011-04-10 13:00:30.750 Directory listing successful
. 2011-04-10 13:00:30.753 Collecting synchronization list for local directory 'C:\update\windsor\rules' and remote directory '/windsor/rules', mode = 0, params = 3
. 2011-04-10 13:00:30.755 Retrieving directory listing...
> 2011-04-10 13:00:30.755 CWD /windsor/rules/
< 2011-04-10 13:00:30.850 250 CWD successful. "/windsor/rules" is current directory.
> 2011-04-10 13:00:30.850 PWD
< 2011-04-10 13:00:30.945 257 "/windsor/rules" is current directory.
> 2011-04-10 13:00:30.945 TYPE A
< 2011-04-10 13:00:31.040 200 Type set to A
> 2011-04-10 13:00:31.041 PASV
< 2011-04-10 13:00:31.137 227 Entering Passive Mode (46,137,103,153,39,99)
> 2011-04-10 13:00:31.137 LIST -a
< 2011-04-10 13:00:31.333 150 Connection accepted
. 2011-04-10 13:00:31.716 SSL connection established
< 2011-04-10 13:00:31.716 226 Transfer OK
. 2011-04-10 13:00:31.717 Could not retrieve directory listing
. 2011-04-10 13:00:31.717 Asking user:
. 2011-04-10 13:00:31.717 Error listing directory '/windsor/rules'. ("Could not retrieve directory listing","Transfer OK")
. 2011-04-10 13:00:31.725 Script: Failed
> 2011-04-10 13:00:31.727 Script: close
. 2011-04-10 13:00:31.729 Disconnected from server




From the Filezilla server, near where it failed:

(001603)4/10/2011 13:00:28 PM - windsoradmin (85.243.227.213)> CWD /windsor/reports/
(001603)4/10/2011 13:00:28 PM - windsoradmin (85.243.227.213)> 250 CWD successful. "/windsor/reports" is current directory.
(001603)4/10/2011 13:00:28 PM - windsoradmin (85.243.227.213)> PWD
(001603)4/10/2011 13:00:28 PM - windsoradmin (85.243.227.213)> 257 "/windsor/reports" is current directory.
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> TYPE A
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 200 Type set to A
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> PASV
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 227 Entering Passive Mode (46,137,103,153,39,9Cool
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> LIST -a
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 150 Connection accepted
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> SSL connection for data connection established
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 226 Transfer OK
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> CWD /windsor/rules/
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 250 CWD successful. "/windsor/rules" is current directory.
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> PWD
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 257 "/windsor/rules" is current directory.
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> TYPE A
(001603)4/10/2011 13:00:29 PM - windsoradmin (85.243.227.213)> 200 Type set to A
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> PASV
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> 227 Entering Passive Mode (46,137,103,153,39,99)
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> LIST -a
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> 150 Connection accepted
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> SSL connection for data connection established
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> 226 Transfer OK
(001603)4/10/2011 13:00:30 PM - windsoradmin (85.243.227.213)> disconnected.



Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
I have sent you an email.
_________________
Martin Prikryl
CHPEREZ

Guest


prikryl wrote:
CHPEREZ wrote:
Yes, i have and im still getting the same message.

Can you post a full log file with active mode?


. 2011-04-16 13:29:43.838 Connecting to xxx.xx.xxx.xxx:990 ...
. 2011-04-16 13:29:43.900 Connected with xxx.xx.xxx.xxx:990, negotiating SSL connection...
. 2011-04-16 13:29:44.088 SSL connection established. Waiting for welcome message...
< 2011-04-16 13:29:44.088 220 multitransfer X2 WS_FTP Server 6.0(06406250)
> 2011-04-16 13:29:44.088 USER ********
< 2011-04-16 13:29:44.213 331 Enter password
> 2011-04-16 13:29:44.213 PASS ****************
< 2011-04-16 13:29:44.431 230-User logged in
< 2011-04-16 13:29:44.447 welcome message
< 2011-04-16 13:29:44.447
< 2011-04-16 13:29:44.447 welcome message
< 2011-04-16 13:29:44.447 230 User logged in
> 2011-04-16 13:29:44.447 SYST
< 2011-04-16 13:29:44.525 215 UNIX
> 2011-04-16 13:29:44.525 FEAT
< 2011-04-16 13:29:44.588 221-Extensions supported
< 2011-04-16 13:29:44.588 SIZE
< 2011-04-16 13:29:44.588 XMD5
< 2011-04-16 13:29:44.588 XSHA1
< 2011-04-16 13:29:44.588 XSHA256
< 2011-04-16 13:29:44.588 XSHA512
< 2011-04-16 13:29:44.588 LANG EN, ES, FR, GE
< 2011-04-16 13:29:44.588 MDTM
< 2011-04-16 13:29:44.588 MLST size*;type*;perm*;create*;modify*;
< 2011-04-16 13:29:44.588 REST STREAM
< 2011-04-16 13:29:44.588 TVFS
< 2011-04-16 13:29:44.588 UTF8
< 2011-04-16 13:29:44.588 AUTH SSL;TLS-P;
< 2011-04-16 13:29:44.588 PBSZ
< 2011-04-16 13:29:44.588 PROT C;P;
< 2011-04-16 13:29:44.588 221 end
> 2011-04-16 13:29:44.588 PBSZ 0
< 2011-04-16 13:29:44.666 200 PBSZ=0
> 2011-04-16 13:29:44.666 PROT P
< 2011-04-16 13:29:44.744 200 PRIVATE data channel protection level set
. 2011-04-16 13:29:44.744 Connected
. 2011-04-16 13:29:44.744 Got reply 1 to the command 1
. 2011-04-16 13:29:44.744 --------------------------------------------------------------------------
. 2011-04-16 13:29:44.744 Using FTP protocol.
. 2011-04-16 13:29:44.744 Doing startup conversation with host.
> 2011-04-16 13:29:44.744 PWD
< 2011-04-16 13:29:44.806 257 "/users/dolexinc" is current directory
. 2011-04-16 13:29:44.806 Got reply 1 to the command 16
. 2011-04-16 13:29:44.806 Getting current directory name.
. 2011-04-16 13:29:44.806 Retrieving directory listing...
> 2011-04-16 13:29:44.806 TYPE A
< 2011-04-16 13:29:44.884 200 Transfer mode set to ASCII
> 2011-04-16 13:29:44.884 PORT 172,20,84,13,16,107
< 2011-04-16 13:29:44.963 550 Command PORT failed
. 2011-04-16 13:29:44.963 Could not retrieve directory listing
. 2011-04-16 13:29:44.963 Got reply 4 to the command 2
. 2011-04-16 13:29:44.963 Retrieving directory listing...
> 2011-04-16 13:29:44.963 TYPE A
< 2011-04-16 13:29:45.041 200 Transfer mode set to ASCII
> 2011-04-16 13:29:45.041 PORT 172,20,84,13,16,108
< 2011-04-16 13:29:45.103 550 Command PORT failed
. 2011-04-16 13:29:45.103 Could not retrieve directory listing
. 2011-04-16 13:29:45.103 Got reply 4 to the command 2
* 2011-04-16 13:29:45.103 (ECommand) Error listing directory '/users/dolexinc'.
* 2011-04-16 13:29:45.103 Could not retrieve directory listing
* 2011-04-16 13:29:45.103 Command PORT failed
. 2011-04-16 13:29:46.041 Startup conversation with host finished.
. 2011-04-16 13:29:46.634 Session upkeep
. 2011-04-16 13:29:47.134 Session upkeep
. 2011-04-16 13:29:47.713 Got reply 1004 to the command 2
. 2011-04-16 13:29:47.713 Disconnected from server
Corvinian
[View user's profile]

Joined: 2011-10-05
Posts: 3
I have this problem, too: Cannot list directory index

'Got reply 1 to the command 1' =>
'Got reply 1 to the command 16' =>
'Got reply 1004 to the command 2'

Code:

. 2011-10-05 15:04:59.718 --------------------------------------------------------------------------
. 2011-10-05 15:04:59.718 WinSCP Version 5.0.2 (Build 1456) (OS 5.1.2600 Service Pack 3)
. 2011-10-05 15:04:59.718 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-10-05 15:04:59.718 Local account: NAME-D50C4A587A\[USERNAME_DELETED]
. 2011-10-05 15:04:59.718 Login time: Mittwoch, 5. Oktober 2011 15:04:59
. 2011-10-05 15:04:59.718 --------------------------------------------------------------------------
. 2011-10-05 15:04:59.718 Session name: [USERNAME_DELETED]@[HOSTNAME_DELETED]1 (Modified stored session)
. 2011-10-05 15:04:59.718 Host name: [HOSTNAME_DELETED] (Port: 21)
. 2011-10-05 15:04:59.734 User name: [USERNAME_DELETED] (Password: Yes, Key file: No)
. 2011-10-05 15:04:59.734 Tunnel: No
. 2011-10-05 15:04:59.734 Transfer Protocol: FTP
. 2011-10-05 15:04:59.734 Ping type: C, Ping interval: 30 sec; Timeout: 25 sec
. 2011-10-05 15:04:59.734 Proxy: none
. 2011-10-05 15:04:59.734 FTP: FTPS: None; Passive: Yes [Force IP: No]
. 2011-10-05 15:04:59.734 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-10-05 15:04:59.734 Cache directory changes: Yes, Permanent: Yes
. 2011-10-05 15:04:59.734 DST mode: 1
. 2011-10-05 15:04:59.734 --------------------------------------------------------------------------
. 2011-10-05 15:04:59.796 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:04:59.796 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:04:59.812 220-
< 2011-10-05 15:04:59.812 220-Bienvenue,
< 2011-10-05 15:04:59.828 220-
. 2011-10-05 15:04:59.828 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:04:59.828 220-       On Vous Hberge ?
< 2011-10-05 15:04:59.828 220-           
< 2011-10-05 15:04:59.828 220-Vous tes connect sur web257.
< 2011-10-05 15:04:59.828 220
> 2011-10-05 15:04:59.828 USER [USERNAME_DELETED]
< 2011-10-05 15:04:59.859 331 Please specify the password.
> 2011-10-05 15:04:59.859 PASS ************
< 2011-10-05 15:04:59.953 230 Login successful.
> 2011-10-05 15:04:59.953 SYST
< 2011-10-05 15:04:59.984 215 UNIX Type: L8
> 2011-10-05 15:04:59.984 FEAT
< 2011-10-05 15:05:00.015 211-Features:
< 2011-10-05 15:05:00.015  EPRT
< 2011-10-05 15:05:00.015  EPSV
< 2011-10-05 15:05:00.015  MDTM
< 2011-10-05 15:05:00.015  PASV
< 2011-10-05 15:05:00.015  REST STREAM
< 2011-10-05 15:05:00.015  SIZE
< 2011-10-05 15:05:00.031  TVFS
< 2011-10-05 15:05:00.031 211 End
. 2011-10-05 15:05:00.031 Connected
. 2011-10-05 15:05:00.031 Got reply 1 to the command 1
. 2011-10-05 15:05:00.031 --------------------------------------------------------------------------
. 2011-10-05 15:05:00.031 Using FTP protocol.
. 2011-10-05 15:05:00.031 Doing startup conversation with host.
> 2011-10-05 15:05:00.031 PWD
< 2011-10-05 15:05:00.062 257 "/"
. 2011-10-05 15:05:00.062 Got reply 1 to the command 16
. 2011-10-05 15:05:00.062 Getting current directory name.
. 2011-10-05 15:05:00.062 Retrieving directory listing...
> 2011-10-05 15:05:00.062 TYPE A
< 2011-10-05 15:05:00.093 200 Switching to ASCII mode.
> 2011-10-05 15:05:00.093 PASV
< 2011-10-05 15:05:00.125 227 Entering Passive Mode (87,98,247,16,197,218)
> 2011-10-05 15:05:00.125 LIST -a
. 2011-10-05 15:05:25.734 Timeout detected.
. 2011-10-05 15:05:25.734 Could not retrieve directory listing
. 2011-10-05 15:05:25.734 Got reply 1004 to the command 2
* 2011-10-05 15:05:25.734 (ESshFatal) Lost connection.
* 2011-10-05 15:05:25.734 Timeout detected.
* 2011-10-05 15:05:25.734 Could not retrieve directory listing
* 2011-10-05 15:05:25.734 Entering Passive Mode (87,98,247,16,197,218)
* 2011-10-05 15:05:25.734 Error listing directory '/'.
. 2011-10-05 15:05:30.781 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:05:30.781 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:05:30.812 220-
< 2011-10-05 15:05:30.812 220-Bienvenue,
< 2011-10-05 15:05:30.812 220-
. 2011-10-05 15:05:30.812 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:05:30.812 220-       On Vous Hberge ?
< 2011-10-05 15:05:30.812 220-           
< 2011-10-05 15:05:30.812 220-Vous tes connect sur web257.
< 2011-10-05 15:05:30.812 220
> 2011-10-05 15:05:30.812 USER [USERNAME_DELETED]
< 2011-10-05 15:05:30.843 331 Please specify the password.
> 2011-10-05 15:05:30.843 PASS ************
< 2011-10-05 15:05:30.890 230 Login successful.
> 2011-10-05 15:05:30.890 SYST
< 2011-10-05 15:05:30.921 215 UNIX Type: L8
> 2011-10-05 15:05:30.921 FEAT
< 2011-10-05 15:05:30.953 211-Features:
< 2011-10-05 15:05:30.953  EPRT
< 2011-10-05 15:05:30.953  EPSV
< 2011-10-05 15:05:30.953  MDTM
< 2011-10-05 15:05:30.953  PASV
< 2011-10-05 15:05:30.953  REST STREAM
< 2011-10-05 15:05:30.953  SIZE
< 2011-10-05 15:05:30.953  TVFS
< 2011-10-05 15:05:30.953 211 End
. 2011-10-05 15:05:30.953 Connected
. 2011-10-05 15:05:30.953 Got reply 1 to the command 1
. 2011-10-05 15:05:30.953 Doing startup conversation with host.
> 2011-10-05 15:05:30.953 PWD
< 2011-10-05 15:05:30.984 257 "/"
. 2011-10-05 15:05:30.984 Got reply 1 to the command 16
. 2011-10-05 15:05:30.984 Getting current directory name.
. 2011-10-05 15:05:30.984 Retrieving directory listing...
> 2011-10-05 15:05:30.984 TYPE A
< 2011-10-05 15:05:31.015 200 Switching to ASCII mode.
> 2011-10-05 15:05:31.015 PASV
< 2011-10-05 15:05:31.046 227 Entering Passive Mode (87,98,247,16,199,43)
> 2011-10-05 15:05:31.046 LIST -a
. 2011-10-05 15:05:56.734 Timeout detected.
. 2011-10-05 15:05:56.734 Could not retrieve directory listing
. 2011-10-05 15:05:56.734 Got reply 1004 to the command 2
* 2011-10-05 15:05:56.734 (ESshFatal) Lost connection.
* 2011-10-05 15:05:56.734 Timeout detected.
* 2011-10-05 15:05:56.734 Could not retrieve directory listing
* 2011-10-05 15:05:56.734 Entering Passive Mode (87,98,247,16,199,43)
* 2011-10-05 15:05:56.734 Error listing directory '/'.
. 2011-10-05 15:06:01.828 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:06:01.828 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:06:01.859 220-
< 2011-10-05 15:06:01.859 220-Bienvenue,
< 2011-10-05 15:06:01.859 220-
. 2011-10-05 15:06:01.859 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:06:01.859 220-       On Vous Hberge ?
< 2011-10-05 15:06:01.859 220-           
< 2011-10-05 15:06:01.859 220-Vous tes connect sur web257.
< 2011-10-05 15:06:01.859 220
> 2011-10-05 15:06:01.859 USER [USERNAME_DELETED]
< 2011-10-05 15:06:01.890 331 Please specify the password.
> 2011-10-05 15:06:01.890 PASS ************
< 2011-10-05 15:06:01.937 230 Login successful.
> 2011-10-05 15:06:01.937 SYST
< 2011-10-05 15:06:01.968 215 UNIX Type: L8
> 2011-10-05 15:06:01.968 FEAT
< 2011-10-05 15:06:02.000 211-Features:
< 2011-10-05 15:06:02.000  EPRT
< 2011-10-05 15:06:02.000  EPSV
< 2011-10-05 15:06:02.000  MDTM
< 2011-10-05 15:06:02.000  PASV
< 2011-10-05 15:06:02.000  REST STREAM
< 2011-10-05 15:06:02.000  SIZE
< 2011-10-05 15:06:02.000  TVFS
< 2011-10-05 15:06:02.000 211 End
. 2011-10-05 15:06:02.000 Connected
. 2011-10-05 15:06:02.000 Got reply 1 to the command 1
. 2011-10-05 15:06:02.015 Doing startup conversation with host.
> 2011-10-05 15:06:02.015 PWD
< 2011-10-05 15:06:02.046 257 "/"
. 2011-10-05 15:06:02.046 Got reply 1 to the command 16
. 2011-10-05 15:06:02.046 Getting current directory name.
. 2011-10-05 15:06:02.046 Retrieving directory listing...
> 2011-10-05 15:06:02.046 TYPE A
< 2011-10-05 15:06:02.062 200 Switching to ASCII mode.
> 2011-10-05 15:06:02.078 PASV
< 2011-10-05 15:06:02.109 227 Entering Passive Mode (87,98,247,16,197,220)
> 2011-10-05 15:06:02.109 LIST -a
. 2011-10-05 15:06:27.796 Timeout detected.
. 2011-10-05 15:06:27.796 Could not retrieve directory listing
. 2011-10-05 15:06:27.796 Got reply 1004 to the command 2
* 2011-10-05 15:06:27.796 (ESshFatal) Lost connection.
* 2011-10-05 15:06:27.796 Timeout detected.
* 2011-10-05 15:06:27.796 Could not retrieve directory listing
* 2011-10-05 15:06:27.796 Entering Passive Mode (87,98,247,16,197,220)
* 2011-10-05 15:06:27.796 Error listing directory '/'.
. 2011-10-05 15:06:32.843 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:06:32.843 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:06:32.875 220-
< 2011-10-05 15:06:32.875 220-Bienvenue,
< 2011-10-05 15:06:32.875 220-
. 2011-10-05 15:06:32.875 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:06:32.875 220-       On Vous Hberge ?
< 2011-10-05 15:06:32.875 220-           
< 2011-10-05 15:06:32.875 220-Vous tes connect sur web257.
< 2011-10-05 15:06:32.875 220
> 2011-10-05 15:06:32.875 USER [USERNAME_DELETED]
< 2011-10-05 15:06:32.921 331 Please specify the password.
> 2011-10-05 15:06:32.921 PASS ************
< 2011-10-05 15:06:32.968 230 Login successful.
> 2011-10-05 15:06:32.968 SYST
< 2011-10-05 15:06:33.000 215 UNIX Type: L8
> 2011-10-05 15:06:33.000 FEAT
< 2011-10-05 15:06:33.031 211-Features:
< 2011-10-05 15:06:33.031  EPRT
< 2011-10-05 15:06:33.031  EPSV
< 2011-10-05 15:06:33.031  MDTM
< 2011-10-05 15:06:33.031  PASV
< 2011-10-05 15:06:33.031  REST STREAM
< 2011-10-05 15:06:33.031  SIZE
< 2011-10-05 15:06:33.031  TVFS
< 2011-10-05 15:06:33.031 211 End
. 2011-10-05 15:06:33.031 Connected
. 2011-10-05 15:06:33.031 Got reply 1 to the command 1
. 2011-10-05 15:06:33.031 Doing startup conversation with host.
> 2011-10-05 15:06:33.031 PWD
< 2011-10-05 15:06:33.062 257 "/"
. 2011-10-05 15:06:33.062 Got reply 1 to the command 16
. 2011-10-05 15:06:33.062 Getting current directory name.
. 2011-10-05 15:06:33.078 Retrieving directory listing...
> 2011-10-05 15:06:33.078 TYPE A
< 2011-10-05 15:06:33.093 200 Switching to ASCII mode.
> 2011-10-05 15:06:33.093 PASV
< 2011-10-05 15:06:33.125 227 Entering Passive Mode (87,98,247,16,197,222)
> 2011-10-05 15:06:33.125 LIST -a
. 2011-10-05 15:06:58.796 Timeout detected.
. 2011-10-05 15:06:58.796 Could not retrieve directory listing
. 2011-10-05 15:06:58.796 Got reply 1004 to the command 2
* 2011-10-05 15:06:58.796 (ESshFatal) Lost connection.
* 2011-10-05 15:06:58.796 Timeout detected.
* 2011-10-05 15:06:58.796 Could not retrieve directory listing
* 2011-10-05 15:06:58.796 Entering Passive Mode (87,98,247,16,197,222)
* 2011-10-05 15:06:58.796 Error listing directory '/'.
. 2011-10-05 15:07:03.843 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:07:03.843 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:07:03.875 220-
< 2011-10-05 15:07:03.875 220-Bienvenue,
< 2011-10-05 15:07:03.875 220-
. 2011-10-05 15:07:03.875 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:07:03.875 220-       On Vous Hberge ?
< 2011-10-05 15:07:03.875 220-           
< 2011-10-05 15:07:03.875 220-Vous tes connect sur web230.
< 2011-10-05 15:07:03.875 220
> 2011-10-05 15:07:03.875 USER [USERNAME_DELETED]
< 2011-10-05 15:07:03.906 331 Please specify the password.
> 2011-10-05 15:07:03.906 PASS ************
< 2011-10-05 15:07:03.953 230 Login successful.
> 2011-10-05 15:07:03.953 SYST
< 2011-10-05 15:07:03.984 215 UNIX Type: L8
> 2011-10-05 15:07:03.984 FEAT
< 2011-10-05 15:07:04.015 211-Features:
< 2011-10-05 15:07:04.015  EPRT
< 2011-10-05 15:07:04.015  EPSV
< 2011-10-05 15:07:04.015  MDTM
< 2011-10-05 15:07:04.015  PASV
< 2011-10-05 15:07:04.015  REST STREAM
< 2011-10-05 15:07:04.015  SIZE
< 2011-10-05 15:07:04.015  TVFS
< 2011-10-05 15:07:04.015 211 End
. 2011-10-05 15:07:04.015 Connected
. 2011-10-05 15:07:04.015 Got reply 1 to the command 1
. 2011-10-05 15:07:04.015 Doing startup conversation with host.
> 2011-10-05 15:07:04.015 PWD
< 2011-10-05 15:07:04.062 257 "/"
. 2011-10-05 15:07:04.062 Got reply 1 to the command 16
. 2011-10-05 15:07:04.062 Getting current directory name.
. 2011-10-05 15:07:04.062 Retrieving directory listing...
> 2011-10-05 15:07:04.062 TYPE A
< 2011-10-05 15:07:04.078 200 Switching to ASCII mode.
> 2011-10-05 15:07:04.093 PASV
< 2011-10-05 15:07:04.125 227 Entering Passive Mode (87,98,247,16,199,45)
> 2011-10-05 15:07:04.125 LIST -a
. 2011-10-05 15:07:29.796 Timeout detected.
. 2011-10-05 15:07:29.796 Could not retrieve directory listing
. 2011-10-05 15:07:29.796 Got reply 1004 to the command 2
* 2011-10-05 15:07:29.796 (ESshFatal) Lost connection.
* 2011-10-05 15:07:29.796 Timeout detected.
* 2011-10-05 15:07:29.796 Could not retrieve directory listing
* 2011-10-05 15:07:29.796 Entering Passive Mode (87,98,247,16,199,45)
* 2011-10-05 15:07:29.796 Error listing directory '/'.
. 2011-10-05 15:07:34.906 Connecting to [HOSTNAME_DELETED] ...
. 2011-10-05 15:07:34.906 Connected with [HOSTNAME_DELETED]. Waiting for welcome message...
< 2011-10-05 15:07:34.937 220-
< 2011-10-05 15:07:34.937 220-Bienvenue,
< 2011-10-05 15:07:34.937 220-
. 2011-10-05 15:07:34.953 Server does not send proper UTF-8, falling back to local charset
< 2011-10-05 15:07:34.953 220-       On Vous Hberge ?
< 2011-10-05 15:07:34.953 220-           
< 2011-10-05 15:07:34.953 220-Vous tes connect sur web257.
< 2011-10-05 15:07:34.953 220
> 2011-10-05 15:07:34.953 USER [USERNAME_DELETED]
< 2011-10-05 15:07:35.000 331 Please specify the password.
> 2011-10-05 15:07:35.000 PASS ************
< 2011-10-05 15:07:35.125 230 Login successful.
> 2011-10-05 15:07:35.125 SYST
< 2011-10-05 15:07:35.156 215 UNIX Type: L8
> 2011-10-05 15:07:35.156 FEAT
< 2011-10-05 15:07:35.187 211-Features:
< 2011-10-05 15:07:35.187  EPRT
< 2011-10-05 15:07:35.187  EPSV
< 2011-10-05 15:07:35.187  MDTM
< 2011-10-05 15:07:35.187  PASV
< 2011-10-05 15:07:35.187  REST STREAM
< 2011-10-05 15:07:35.187  SIZE
< 2011-10-05 15:07:35.187  TVFS
< 2011-10-05 15:07:35.187 211 End
. 2011-10-05 15:07:35.187 Connected
. 2011-10-05 15:07:35.187 Got reply 1 to the command 1
. 2011-10-05 15:07:35.187 Doing startup conversation with host.
> 2011-10-05 15:07:35.187 PWD
< 2011-10-05 15:07:35.218 257 "/"
. 2011-10-05 15:07:35.218 Got reply 1 to the command 16
. 2011-10-05 15:07:35.218 Getting current directory name.
. 2011-10-05 15:07:35.218 Retrieving directory listing...
> 2011-10-05 15:07:35.218 TYPE A
< 2011-10-05 15:07:35.250 200 Switching to ASCII mode.
> 2011-10-05 15:07:35.250 PASV
< 2011-10-05 15:07:35.281 227 Entering Passive Mode (87,98,247,16,199,47)
> 2011-10-05 15:07:35.281 LIST -a
. 2011-10-05 15:08:00.796 Timeout detected.
. 2011-10-05 15:08:00.796 Could not retrieve directory listing
. 2011-10-05 15:08:00.796 Got reply 1004 to the command 2
* 2011-10-05 15:08:00.796 (ESshFatal) Lost connection.
* 2011-10-05 15:08:00.796 Timeout detected.
* 2011-10-05 15:08:00.796 Could not retrieve directory listing
* 2011-10-05 15:08:00.796 Entering Passive Mode (87,98,247,16,199,47)
* 2011-10-05 15:08:00.796 Error listing directory '/'.


Is the bug fixed in versioning already?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Corvinian wrote:
I have this problem, too: Cannot list directory index

'Got reply 1 to the command 1' =>
'Got reply 1 to the command 16' =>
'Got reply 1004 to the command 2'

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
Corvinian
[View user's profile]

Joined: 2011-10-05
Posts: 3
I just sent you the email.
Corvinian
[View user's profile]

Joined: 2011-10-05
Posts: 3
for reference, these URLs were also helpful:

http://winscp.net/forum/viewtopic.php?t=5070

http://winscp.net/eng/docs/message_error_listing_directory

http://winscp.net/eng/docs/ui_login_connection#passive_mode

http://winscp.net/eng/docs/message_connection_refused

http://winscp.net/forum/viewtopic.php?t=6431
spal

Guest


Hi!
I found this error message appear, when i connect to my company's VPN. When i disconnected the VPN connection, FTP connection was builded up without any problem/error.
Guest




Useing "PASSIVE" mode in your FTP clinet software


peter31 wrote:
Hello all,
here is my problem , I'm using the last version of Winscp 4.1.7 (buil 413)

When I'm trying to connect to my ftp site I have the "Could not retrieve directory listing" message in the scp window.

See below the logs .

Thanks in advance,
Peter

. 2008-09-29 10:20:02.918 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=0 caller=0x01eb8064
< 2008-09-29 10:20:02.918 331 User XXXXXXXX, password please
> 2008-09-29 10:20:02.918 PASS ***
. 2008-09-29 10:20:03.028 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=3 caller=0x01eb8064
< 2008-09-29 10:20:03.028 230 Password Ok, User logged in
> 2008-09-29 10:20:03.028 SYST
. 2008-09-29 10:20:03.137 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-14 caller=0x01eb8064
< 2008-09-29 10:20:03.262 215 UNIX Type: L8
> 2008-09-29 10:20:03.262 FEAT
. 2008-09-29 10:20:03.262 FtpControlSocket.cpp(878): OnReceive(0) OpMode=1 OpState=-13 caller=0x01eb8064
< 2008-09-29 10:20:03.262 211- Additional features supported include:
< 2008-09-29 10:20:03.262 MDTM
< 2008-09-29 10:20:03.262 SIZE
< 2008-09-29 10:20:03.262 REST STREAM
< 2008-09-29 10:20:03.262 AUTH TLS
< 2008-09-29 10:20:03.262 AUTH SSL
< 2008-09-29 10:20:03.262 PBSZ
< 2008-09-29 10:20:03.262 PROT
< 2008-09-29 10:20:03.278 LANG EN*
< 2008-09-29 10:20:03.278 SITE CHMOD
< 2008-09-29 10:20:03.278 SITE PSWD
< 2008-09-29 10:20:03.278 211 End
. 2008-09-29 10:20:03.278 Connected
. 2008-09-29 10:20:03.278 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=1 OpState=-13 caller=0x01eb8064
. 2008-09-29 10:20:03.278 Got reply 1 to the command 1
. 2008-09-29 10:20:03.278 --------------------------------------------------------------------------
. 2008-09-29 10:20:03.278 Using FTP protocol.
. 2008-09-29 10:20:03.278 Doing startup conversation with host.
. 2008-09-29 10:20:03.278 FtpControlSocket.cpp(1283): FtpCommand(PWD) OpMode=0 OpState=-1 caller=0x01eb8064
> 2008-09-29 10:20:03.278 PWD
. 2008-09-29 10:20:04.497 FtpControlSocket.cpp(878): OnReceive(0) OpMode=2 OpState=-1 caller=0x01eb8064
< 2008-09-29 10:20:04.809 257 "/" is the current directory
. 2008-09-29 10:20:04.809 FtpControlSocket.cpp(4198): ResetOperation(1) OpMode=2 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:04.809 Got reply 1 to the command 16
. 2008-09-29 10:20:04.809 Getting current directory name.
. 2008-09-29 10:20:04.809 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:04.809 Retrieving directory listing...
> 2008-09-29 10:20:04.809 TYPE A
. 2008-09-29 10:20:04.903 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=8 caller=0x01eb8064
< 2008-09-29 10:20:04.903 200 Type ASCII
. 2008-09-29 10:20:04.903 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x01eb8064
> 2008-09-29 10:20:05.075 PORT 192,168,0,2,16,104
. 2008-09-29 10:20:05.215 FtpControlSocket.cpp(878): OnReceive(0) OpMode=4 OpState=7 caller=0x01eb8064
< 2008-09-29 10:20:05.215 200 Port command received
. 2008-09-29 10:20:05.215 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x01eb8064
. 2008-09-29 10:20:05.215 TransferSocket.cpp(597): SetActive() caller=0x01ee5130
> 2008-09-29 10:20:05.215 LIST -a
. 2008-09-29 10:20:20.466 Timeout detected.
. 2008-09-29 10:20:20.638 TransferSocket.cpp(1179): Close() caller=0x01ee5130
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(2084): TransferEnd(132) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(1290): List(TRUE,128,"","",0) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 TransferSocket.cpp(108): ~CTransferSocket() caller=0x01ee5130
. 2008-09-29 10:20:20.638 TransferSocket.cpp(1179): Close() caller=0x01ee5130
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(1213): DoClose(0) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=4 OpState=9 caller=0x01eb8064
. 2008-09-29 10:20:20.638 Could not retrieve directory listing
. 2008-09-29 10:20:20.638 Got reply 1004 to the command 2
* 2008-09-29 10:20:20.716 (ESshFatal) Lost connection.
* 2008-09-29 10:20:20.716 Timeout detected.
* 2008-09-29 10:20:20.716 Could not retrieve directory listing
* 2008-09-29 10:20:20.716 Port command received
* 2008-09-29 10:20:20.716 Error listing directory '/'.
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(181): ~CFtpControlSocket() caller=0x01eb8064
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(1213): DoClose(0) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:31.825 FtpControlSocket.cpp(4198): ResetOperation(4100) OpMode=0 OpState=-1 caller=0x01eb8064
. 2008-09-29 10:20:31.841 ControlSocket.cpp(89): ~CControlSocket() caller=0x01eb8064
cspitzer
[View user's profile]

Joined: 2014-04-11
Posts: 10
Location: Scottsdale, AZ
I am receiving this error also. I am sending files to a host that doesn't allow directory listings (it is a depository only). WinSCP.exe gives the error but continues. The .dll doesn't allow this error to be skipped. Can I get the beta .dll that fixes this?

Thanks.
cspitzer
[View user's profile]

Joined: 2014-04-11
Posts: 10
Location: Scottsdale, AZ
cspitzer wrote:
I am receiving this error also. I am sending files to a host that doesn't allow directory listings (it is a depository only). WinSCP.exe gives the error but continues. The .dll doesn't allow this error to be skipped. Can I get the beta .dll that fixes this?

Thanks.


btw: the error i get is

"Error listing directory 'FTPFILES'. Could not retrieve directory listing. NAMEFMT set to 1. Request rejected."

i am using 5.5.3.4214 and 1.1.5.4214
cspitzer
[View user's profile]

Joined: 2014-04-11
Posts: 10
Location: Scottsdale, AZ
well, i tried to get to this site using the WinSCP command. it also fails. here's the error log

--------------------------------------------------------------------------
WinSCP Version 5.5.3 (Build 4214) (OS 6.1.7601 Service Pack 1 - Windows 7 Enterprise)
Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
Local account: JOMAX\cspitzer
Working directory: C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload
Process ID: 7272
Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe" "SPONSOR@upload.legalplans.com" /UploadIfAny /JumpList
Time zone: Current: GMT-7 (US Mountain Standard Time), No DST
Login time: Monday, May 05, 2014 11:08:05 AM
--------------------------------------------------------------------------
Session name: SPONSOR@upload.legalplans.com (Modified site)
Host name: upload.legalplans.com (Port: 21)
User name: SPONSOR (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
Send buffer: 262144
FTP: FTPS: None; Passive: Yes [Force IP: A]; MLSD: - [List all: -]
Local directory: C:\Users\cspitzer\Documents, Remote directory: home, Update: No, Cache: No
Cache directory changes: No, Permanent: Yes
DST mode: 1; Timezone offset: 0h 0m
--------------------------------------------------------------------------
Connecting to upload.legalplans.com ...
Connected with upload.legalplans.com. Waiting for welcome message...
220-QTCP at 10.1.44.220.
220 Connection will close if idle more than 5 minutes.
USER SPONSOR
331 Enter password.
PASS *******
230 SPONSOR logged on.
SYST
215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".
FEAT
211-Feature listing follows:
AUTH TLS
CCC
PBSZ
PROT
211 End of feature listing.
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "FTPFILES" is current library.
Getting current directory name.
Retrieving directory listing...
CWD /FTPFILES/FTPFILES/
550-NAMEFMT set to 1.
550 Request rejected.
Could not retrieve directory listing
(ECommand) Error listing directory 'FTPFILES'.
Could not retrieve directory listing
NAMEFMT set to 1.
Request rejected.
Startup conversation with host finished.
Not refreshing directory, caching is off.
Copying 1 files/directories to remote directory "FTPFILES/"
PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: N (102400); CalcS: Yes; Mask: *.*
TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM:
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: 'C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload\E6090637' [2014-05-05T17:58:56.562Z] [7133]
Copying "C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload\E6090637" to remote directory started.
Binary transfer mode selected.
Starting upload of C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload\E6090637
CWD /FTPFILES/FTPFILES/
550 Request rejected.
CWD /FTPFILES/
550 Request rejected.
CWD /
550 Request rejected.
Copying files to remote side failed.
(ExtException) **Copying files to remote side failed.**
Request rejected.
Asking user:
Error transferring file 'C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload\E6090637'. ("Copying files to remote side failed.","Request rejected.")
(EScpSkipFile) Error transferring file 'C:\Users\cspitzer\Documents\ProjectLogs\PrepaidLegalDownload\E6090637'.
Copying files to remote side failed.
Request rejected.
TYPE A
200 Representation type is ASCII nonprint.


even though i have set the remote directory for this connection to the empty string. is there a way to get it never do a cwd command? that's what this site requires.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
cspitzer wrote:
I am receiving this error also. I am sending files to a host that doesn't allow directory listings (it is a depository only). WinSCP.exe gives the error but continues. The .dll doesn't allow this error to be skipped. Can I get the beta .dll that fixes this?

There's no "beta" that changes this.

cspitzer wrote:
even though i have set the remote directory for this connection to the empty string. is there a way to get it never do a cwd command? that's what this site requires.

No, it's not possible.
_________________
Martin Prikryl
Maurya

Guest


Hi there,
I am using WINSCP 5.6.3(Build 4824)

I have to Sync files daily through ftp which can grow pto
5 lacks in numbers

on day 1 there were 5000 files and it sync to my local pc without any problem , but when the files started increasing i start getting exception saying "TimeOut detected" "Could not retrieve directory listing" "Error in listing Directory....."


Note : I am facing this issue when it is trying to get files within folders ,(i.e. if there are 5Lacks files within a single folder than it works, but if there are single file in each folder(5L) than it gives me error)

OS is Windows XP

Please provide me any solution if any
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Maurya wrote:
on day 1 there were 5000 files and it sync to my local pc without any problem , but when the files started increasing i start getting exception saying "TimeOut detected" "Could not retrieve directory listing" "Error in listing Directory....."

Thanks for your report.

Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
More information about "Transfer channel can't be opened" error:
http://winscp.net/eng/docs/message_transfer_channel_cant_be_opened
Soni

Guest


Hi

I was trying to initiate a connection to FTP server using winscp.
But it shows the below error.

Timeout detected(data connection),
error listing directory
Could not retrieve directory listing
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you connect with any other FTP client?
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License