Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: CD command hangs and exits using FTP

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
ryanjcaldwell

CD command hangs and exits using FTP

I am using WinSCP.com , Version 5.7.6 (Build 5874)

Using FTP
When I issue the command "cd /ifs/services/webvod/" the program hangs for about 8 secs then exits.
I believe the issue is related to the fact the user does not have permissions for the parent directory "/ifs/services" but full access to the child directories.
This works fine with other FTP Utilities but I would like to use WinSCP for scripting purposes.
Thanks
Ryan

Here is a partial log:

2016-02-19 10:21:02.713 Connected with ******************. Waiting for welcome message...
< 2016-02-19 10:21:02.723 220-Isilon OneFS v7.2.0.1
< 2016-02-19 10:21:02.723 220
> 2016-02-19 10:21:02.723 USER *************
< 2016-02-19 10:21:02.723 331 Please specify the password.
> 2016-02-19 10:21:05.238 PASS *******
< 2016-02-19 10:21:05.346 230 Login successful.
> 2016-02-19 10:21:05.346 SYST
< 2016-02-19 10:21:05.346 215 UNIX Type: L8
> 2016-02-19 10:21:05.346 FEAT
< 2016-02-19 10:21:05.346 211-Features:
< 2016-02-19 10:21:05.356 EPRT
< 2016-02-19 10:21:05.356 EPSV
< 2016-02-19 10:21:05.356 MDTM
< 2016-02-19 10:21:05.356 PASV
< 2016-02-19 10:21:05.356 REST STREAM
< 2016-02-19 10:21:05.356 SIZE
< 2016-02-19 10:21:05.356 TVFS
< 2016-02-19 10:21:05.356 UTF8
< 2016-02-19 10:21:05.356 211 End
> 2016-02-19 10:21:05.356 OPTS UTF8 ON
< 2016-02-19 10:21:05.356 200 Always in UTF8 mode.
. 2016-02-19 10:21:05.356 Connected
. 2016-02-19 10:21:05.356 --------------------------------------------------------------------------
. 2016-02-19 10:21:05.356 Using FTP protocol.
. 2016-02-19 10:21:05.358 Doing startup conversation with host.
> 2016-02-19 10:21:05.358 PWD
< 2016-02-19 10:21:05.361 257 "/ifs/home/NTD1"
. 2016-02-19 10:21:05.361 Getting current directory name.
. 2016-02-19 10:21:05.361 Startup conversation with host finished.
< 2016-02-19 10:21:05.361 Script: Active session: [1] ************
> 2016-02-19 10:21:17.136 Script: cd /ifs/services/webvod
. 2016-02-19 10:21:17.136 Changing directory to "/ifs/services/webvod".
> 2016-02-19 10:21:17.136 CWD /ifs/services/webvod
< 2016-02-19 10:21:17.136 250 Directory successfully changed.
. 2016-02-19 10:21:17.136 Getting current directory name.
> 2016-02-19 10:21:17.136 PWD
< 2016-02-19 10:21:17.139 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.141 PWD
< 2016-02-19 10:21:17.141 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.141 PWD
< 2016-02-19 10:21:17.141 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.141 PWD
< 2016-02-19 10:21:17.141 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.141 PWD
< 2016-02-19 10:21:17.141 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.141 PWD
< 2016-02-19 10:21:17.141 257 ""
. 2016-02-19 10:21:17.141 Getting current directory name.
> 2016-02-19 10:21:17.144 PWD
< 2016-02-19 10:21:17.144 257 ""
. 2016-02-19 10:21:17.144 Getting current directory name.
> 2016-02-19 10:21:17.144 PWD
< 2016-02-19 10:21:17.144 257 ""

this repeats about 18,000 times