WinSCP fails to connect to ftp.drivehq.com

Advertisement

sindilevich
Joined:
Posts:
3

WinSCP fails to connect to ftp.drivehq.com

When connecting to ftp.drivehq.com (Host name: ftp.drivehq.com, Port number: 21, File protocol: FTP) the log window shows the following messages:

Connecting to ftp.drivehq.com...
Connected to ftp.drivehq.com. Waiting for welcome message...
Connected
Starting the session...
Reading remote directory...
Retrieving directory listing...

At this point the program will freeze for a number of seconds, then an error message appears:

Timeout detected.
Could not retrieve directory listing
Port command successful.
Error listing directory '/'.

Setting another remote path to start with will not resolve the issue.

Note, using WS_FTP by ipswitchft will login to the ftp.drivehq.com succesfuly using the above configuration (Host name: ftp.drivehq.com, Port number: 21, File protocol: FTP), thus the problem is not the configuration, but rather a bug in WinSCP.

Version of WinSCP: 4.1.7 (Build 413);
Transfer protocol: FTP;
Interface style: Commander;
Full error message: Lost connection.;
Additional information: Timeout detected. Could not retrieve directory listing Port command successful. Error listing directory '/'.;
Log file:
. 2008-11-06 18:55:47.821 --------------------------------------------------------------------------
. 2008-11-06 18:55:47.821 WinSCP Version 4.1.7 (Build 413) (OS 5.2.3790 Service Pack 2)
. 2008-11-06 18:55:47.821 Login time: 06 November 2008 18:55:47
. 2008-11-06 18:55:47.821 --------------------------------------------------------------------------
. 2008-11-06 18:55:47.821 Session name: sindilevich@ftp.drivehq.com
. 2008-11-06 18:55:47.821 Host name: ftp.drivehq.com (Port: 21)
. 2008-11-06 18:55:47.821 User name: sindilevich (Password: No, Key file: No)
. 2008-11-06 18:55:47.821 Tunnel: No
. 2008-11-06 18:55:47.821 Transfer Protocol: FTP
. 2008-11-06 18:55:47.821 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2008-11-06 18:55:47.821 Proxy: none
. 2008-11-06 18:55:47.821 FTP: Passive: No
. 2008-11-06 18:55:47.821 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-11-06 18:55:47.821 Cache directory changes: Yes, Permanent: Yes
. 2008-11-06 18:55:47.821 DST mode: 1
. 2008-11-06 18:55:47.821 --------------------------------------------------------------------------
. 2008-11-06 18:55:47.821 Password prompt (no password provided or last login attempt failed)
. 2008-11-06 18:55:49.899 Connecting to ftp.drivehq.com ...
. 2008-11-06 18:55:50.133 FtpControlSocket.cpp(1056): OnConnect(0)  OpMode=1 OpState=-1   caller=0x0301dac0
. 2008-11-06 18:55:50.133 Connected with ftp.drivehq.com. Waiting for welcome message...
. 2008-11-06 18:55:50.383 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-1   caller=0x0301dac0
< 2008-11-06 18:55:50.383 220 Welcome to the most popular FTP hosting service! Save on hardware, software, hosting and admin. Share files/folders with read-write permission. Visit http://www.drivehq.com/ftp/
> 2008-11-06 18:55:50.383 USER sindilevich
. 2008-11-06 18:55:50.633 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=0   caller=0x0301dac0
< 2008-11-06 18:55:50.633 331 User name ok, need password.
> 2008-11-06 18:55:50.633 PASS ********
. 2008-11-06 18:55:50.899 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=3   caller=0x0301dac0
< 2008-11-06 18:55:50.899 230 User successfully logged on.
> 2008-11-06 18:55:50.899 SYST
. 2008-11-06 18:55:51.149 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-14   caller=0x0301dac0
< 2008-11-06 18:55:51.149 215 UNIX emulated by DriveHQ FTP Server.
> 2008-11-06 18:55:51.149 FEAT
. 2008-11-06 18:55:51.399 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-13   caller=0x0301dac0
< 2008-11-06 18:55:51.399 211-Extensions supported:
< 2008-11-06 18:55:51.399  SIZE
< 2008-11-06 18:55:51.399  MLSD
< 2008-11-06 18:55:51.399  MLST
< 2008-11-06 18:55:51.399  NLST
< 2008-11-06 18:55:51.399  MDTM
< 2008-11-06 18:55:51.399  MFMT
< 2008-11-06 18:55:51.399  MFCT
< 2008-11-06 18:55:51.399  MFF Create;Modify;
< 2008-11-06 18:55:51.399  REST STREAM
< 2008-11-06 18:55:51.399  UTF8
< 2008-11-06 18:55:51.399 211 END
> 2008-11-06 18:55:51.399 OPTS UTF8 ON
. 2008-11-06 18:55:51.649 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=1 OpState=-15   caller=0x0301dac0
< 2008-11-06 18:55:51.649 200 Enable UTF8 mode.
. 2008-11-06 18:55:51.649 Connected
. 2008-11-06 18:55:51.649 FtpControlSocket.cpp(4198): ResetOperation(1)  OpMode=1 OpState=-15   caller=0x0301dac0
. 2008-11-06 18:55:51.649 Got reply 1 to the command 1
. 2008-11-06 18:55:51.649 --------------------------------------------------------------------------
. 2008-11-06 18:55:51.649 Using FTP protocol.
. 2008-11-06 18:55:51.649 Doing startup conversation with host.
. 2008-11-06 18:55:51.649 FtpControlSocket.cpp(1283): FtpCommand(PWD)  OpMode=0 OpState=-1   caller=0x0301dac0
> 2008-11-06 18:55:51.649 PWD
. 2008-11-06 18:55:51.883 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=2 OpState=-1   caller=0x0301dac0
< 2008-11-06 18:55:51.883 257 "/" is current directory.
. 2008-11-06 18:55:51.883 FtpControlSocket.cpp(4198): ResetOperation(1)  OpMode=2 OpState=-1   caller=0x0301dac0
. 2008-11-06 18:55:51.883 Got reply 1 to the command 16
. 2008-11-06 18:55:51.883 Getting current directory name.
. 2008-11-06 18:55:51.883 FtpControlSocket.cpp(1290): List(FALSE,0,"/","",1)  OpMode=0 OpState=-1   caller=0x0301dac0
. 2008-11-06 18:55:51.883 Retrieving directory listing...
> 2008-11-06 18:55:51.883 TYPE A
. 2008-11-06 18:55:52.133 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=4 OpState=8   caller=0x0301dac0
< 2008-11-06 18:55:52.133 200 Type set to A
. 2008-11-06 18:55:52.133 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0)  OpMode=4 OpState=8   caller=0x0301dac0
> 2008-11-06 18:55:52.133 PORT 192,168,9,45,5,239
. 2008-11-06 18:55:52.368 FtpControlSocket.cpp(878): OnReceive(0)  OpMode=4 OpState=7   caller=0x0301dac0
< 2008-11-06 18:55:52.368 200 Port command successful.
. 2008-11-06 18:55:52.368 FtpControlSocket.cpp(1290): List(FALSE,0,"","",0)  OpMode=4 OpState=7   caller=0x0301dac0
. 2008-11-06 18:55:52.368 TransferSocket.cpp(597): SetActive()   caller=0x02fea5b0
> 2008-11-06 18:55:52.368 LIST -a
. 2008-11-06 18:56:07.821 Timeout detected.
. 2008-11-06 18:56:07.821 TransferSocket.cpp(1179): Close()   caller=0x02fea5b0
. 2008-11-06 18:56:07.821 FtpControlSocket.cpp(2084): TransferEnd(132)  OpMode=4 OpState=9   caller=0x0301dac0
. 2008-11-06 18:56:07.821 FtpControlSocket.cpp(1290): List(TRUE,128,"","",0)  OpMode=4 OpState=9   caller=0x0301dac0
. 2008-11-06 18:56:07.821 TransferSocket.cpp(108): ~CTransferSocket()   caller=0x02fea5b0
. 2008-11-06 18:56:07.821 TransferSocket.cpp(1179): Close()   caller=0x02fea5b0
. 2008-11-06 18:56:07.821 FtpControlSocket.cpp(1213): DoClose(0)  OpMode=4 OpState=9   caller=0x0301dac0
. 2008-11-06 18:56:07.821 FtpControlSocket.cpp(4198): ResetOperation(4100)  OpMode=4 OpState=9   caller=0x0301dac0
. 2008-11-06 18:56:07.821 Could not retrieve directory listing
. 2008-11-06 18:56:07.821 Got reply 1004 to the command 2
* 2008-11-06 18:56:07.821 (ESshFatal) Lost connection.
* 2008-11-06 18:56:07.821 Timeout detected.
* 2008-11-06 18:56:07.821 Could not retrieve directory listing
* 2008-11-06 18:56:07.821 Port command successful.
* 2008-11-06 18:56:07.821 Error listing directory '/'.
. 2008-11-06 18:56:15.461 FtpControlSocket.cpp(181): ~CFtpControlSocket()   caller=0x0301dac0
. 2008-11-06 18:56:15.461 FtpControlSocket.cpp(1213): DoClose(0)  OpMode=0 OpState=-1   caller=0x0301dac0
. 2008-11-06 18:56:15.461 FtpControlSocket.cpp(4198): ResetOperation(4100)  OpMode=0 OpState=-1   caller=0x0301dac0
. 2008-11-06 18:56:15.461 ControlSocket.cpp(89): ~CControlSocket()   caller=0x0301dac0

Reply with quote

Advertisement

sindilevich
Joined:
Posts:
3

Re: WinSCP fails to connect to ftp.drivehq.com

martin wrote:

Thanks for your post. This issue is being tracked already.

Thank you for your quick reply. I looked at the tracking item, and was hard to understand why the "-a" option of "LIST" would cause a timeout? Can you please elaborate for such newbies in FTP like me?

Reply with quote

martin
Site Admin
martin avatar

Re: WinSCP fails to connect to ftp.drivehq.com

sindilevich wrote:

Thank you for your quick reply. I looked at the tracking item, and was hard to understand why the "-a" option of "LIST" would cause a timeout? Can you please elaborate for such newbies in FTP like me?
Neither I do. It simply does.

Reply with quote

sindilevich
Joined:
Posts:
3

Re: WinSCP fails to connect to ftp.drivehq.com

martin wrote:

sindilevich wrote:

Thank you for your quick reply. I looked at the tracking item, and was hard to understand why the "-a" option of "LIST" would cause a timeout? Can you please elaborate for such newbies in FTP like me?
Neither I do. It simply does.


:D

Reply with quote

Advertisement

You can post new topics in this forum