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

uologic

Resolved

I removed


[Sessions\Default%20Settings]
....

from winscp.ini and error code 2 can't change directory is gone. hope that help you.
liquidcool

Strange, I had that set in the saved profile/session, I guess I had to generally set it first. Anyway, that did solve the problem. Thank you for your quick response!
martin

liquidcool wrote:

Another suggestion said to try "Passive mode", but that option is grayed out for me.

I would suggest the same. Make sure you select "FTP" protocol, before going to Connection tab.
liquidcool

Just tried the latest beta (4.2.1) - that didn't work, either.
liquidcool

Wanted to add that I tried unchecking "Show hidden files" (suggestion from a similar problem) but that didn't fix it. Another suggestion said to try "Passive mode", but that option is grayed out for me.
liquidcool

Can't change directory

I can login to my server successfully and get a full directory listing. However, when I try to change directories, it gives me this error:

Disconnected from server
Could not retrieve directory listing
Timeout detected.
PORT command successful
Error listing directory '/public_html'.
Error changing directory to 'public_html'.

I am able to log in and change directories with no problems using FileZilla. I'm using:

WinSCP 4.1.9
Windows XP Pro SP3
It is not blocked by Windows Firewall.

My log is posted below (user/host changed to protect the innocent). Like I said, the initial directory listing works fine, so I'm not sure what's going on. Hoping it's a quick fix because the synchronize feature looks great. Thanks!

. 2009-06-08 01:00:19.920 --------------------------------------------------------------------------
. 2009-06-08 01:00:19.920 WinSCP Version 4.1.9 (Build 416) (OS 5.1.2600 Service Pack 3)
. 2009-06-08 01:00:19.920 Login time: Monday, June 08, 2009 1:00:19 AM
. 2009-06-08 01:00:19.920 --------------------------------------------------------------------------
. 2009-06-08 01:00:19.920 Session name: Crack Team
. 2009-06-08 01:00:19.920 Host name: machineid.inmotionhosting.com (Port: 21)
. 2009-06-08 01:00:19.920 User name: username (Password: Yes, Key file: No)
. 2009-06-08 01:00:19.920 Tunnel: No
. 2009-06-08 01:00:19.920 Transfer Protocol: FTP
. 2009-06-08 01:00:19.920 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2009-06-08 01:00:19.920 Proxy: none
. 2009-06-08 01:00:19.920 FTP: Passive: No
. 2009-06-08 01:00:19.920 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-06-08 01:00:19.920 Cache directory changes: Yes, Permanent: Yes
. 2009-06-08 01:00:19.920 DST mode: 1
. 2009-06-08 01:00:19.920 --------------------------------------------------------------------------
. 2009-06-08 01:00:19.967 Connecting to machineid.inmotionhosting.com ...
. 2009-06-08 01:00:19.967 Connected with machineid.inmotionhosting.com. Waiting for welcome message...
< 2009-06-08 01:00:19.998 220---------- Welcome to Pure-FTPd [TLS] ----------
< 2009-06-08 01:00:19.998 220-You are user number 6 of 50 allowed.
< 2009-06-08 01:00:19.998 220-Local time is now 01:00. Server port: 21.
< 2009-06-08 01:00:19.998 220-This is a private system - No anonymous login
< 2009-06-08 01:00:19.998 220-IPv6 connections are also welcome on this server.
< 2009-06-08 01:00:19.998 220 You will be disconnected after 15 minutes of inactivity.
> 2009-06-08 01:00:19.998 USER username
< 2009-06-08 01:00:20.013 331 User username OK. Password required
> 2009-06-08 01:00:20.013 PASS *******
< 2009-06-08 01:00:20.092 230-User username has group access to: username
< 2009-06-08 01:00:20.092 230 OK. Current restricted directory is /
> 2009-06-08 01:00:20.092 SYST
< 2009-06-08 01:00:20.123 215 UNIX Type: L8
> 2009-06-08 01:00:20.123 FEAT
< 2009-06-08 01:00:20.154 211-Extensions supported:
< 2009-06-08 01:00:20.154 EPRT
< 2009-06-08 01:00:20.154 IDLE
< 2009-06-08 01:00:20.154 MDTM
< 2009-06-08 01:00:20.154 SIZE
< 2009-06-08 01:00:20.154 REST STREAM
< 2009-06-08 01:00:20.154 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
< 2009-06-08 01:00:20.154 MLSD
< 2009-06-08 01:00:20.154 ESTP
< 2009-06-08 01:00:20.154 PASV
< 2009-06-08 01:00:20.154 EPSV
< 2009-06-08 01:00:20.154 SPSV
< 2009-06-08 01:00:20.154 ESTA
< 2009-06-08 01:00:20.154 AUTH TLS
< 2009-06-08 01:00:20.154 PBSZ
< 2009-06-08 01:00:20.154 PROT
< 2009-06-08 01:00:20.154 211 End.
. 2009-06-08 01:00:20.154 Connected
. 2009-06-08 01:00:20.154 --------------------------------------------------------------------------
. 2009-06-08 01:00:20.154 Using FTP protocol.
. 2009-06-08 01:00:20.154 Doing startup conversation with host.
> 2009-06-08 01:00:20.154 PWD
< 2009-06-08 01:00:20.170 257 "/" is your current location
. 2009-06-08 01:00:20.170 Getting current directory name.
. 2009-06-08 01:00:20.170 Retrieving directory listing...
> 2009-06-08 01:00:20.170 TYPE A
< 2009-06-08 01:00:20.217 200 TYPE is now ASCII
> 2009-06-08 01:00:20.217 PORT 192,168,0,195,16,162
< 2009-06-08 01:00:20.232 200 PORT command successful
> 2009-06-08 01:00:20.248 LIST -a
< 2009-06-08 01:00:20.295 150 Connecting to port 5003
< 2009-06-08 01:00:20.295 226-Options: -a -l
< 2009-06-08 01:00:20.295 226 30 matches total
. 2009-06-08 01:00:20.295 Directory listing successful
. 2009-06-08 01:00:20.295 Reading symlink "access-logs".
. 2009-06-08 01:00:20.295 Reading symlink "www".
. 2009-06-08 01:00:20.295 Startup conversation with host finished.
. 2009-06-08 01:00:23.123 Cached directory change via "public_html" to "/public_html".
. 2009-06-08 01:00:23.123 Getting current directory name.
. 2009-06-08 01:00:23.123 Retrieving directory listing...
> 2009-06-08 01:00:23.123 CWD /public_html/
< 2009-06-08 01:00:23.154 250 OK. Current directory is /public_html
> 2009-06-08 01:00:23.154 PWD
< 2009-06-08 01:00:23.170 257 "/public_html" is your current location
> 2009-06-08 01:00:23.170 TYPE A
< 2009-06-08 01:00:23.201 200 TYPE is now ASCII
> 2009-06-08 01:00:23.217 PORT 192,168,0,195,16,164
< 2009-06-08 01:00:23.232 200 PORT command successful
> 2009-06-08 01:00:23.232 LIST -a
. 2009-06-08 01:00:44.513 Disconnected from server
. 2009-06-08 01:00:44.513 Could not retrieve directory listing
. 2009-06-08 01:00:44.513 Timeout detected.
* 2009-06-08 01:00:44.529 (ESshFatal) Lost connection.
* 2009-06-08 01:00:44.529 Disconnected from server
* 2009-06-08 01:00:44.529 Could not retrieve directory listing
* 2009-06-08 01:00:44.529 Timeout detected.
* 2009-06-08 01:00:44.529 PORT command successful
* 2009-06-08 01:00:44.529 Error listing directory '/public_html'.
* 2009-06-08 01:00:44.529 Error changing directory to 'public_html'.