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: [GUI] successful in logging in but failed to retrieve directory

Please post a log file from the latest version of WinSCP with logging level set to Debug 2.
james.chim

[GUI] successful in logging in but failed to retrieve directory

Dear support,

I have captured the log as below.
I have replaced the FTP server IP address with '8.8.8.8'.

. 2018-12-04 16:54:26.664 --------------------------------------------------------------------------
. 2018-12-04 16:54:26.664 WinSCP Version 5.7.7 (Build 6257) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)
. 2018-12-04 16:54:26.664 Configuration: C:\script\WinSCP.ini
. 2018-12-04 16:54:26.664 Log level: Normal
. 2018-12-04 16:54:26.664 Local account: CNXT1BKLS\micros
. 2018-12-04 16:54:26.664 Working directory: C:\script
. 2018-12-04 16:54:26.664 Process ID: 6312
. 2018-12-04 16:54:26.664 Command-line: "C:\script\WinSCP.exe"
. 2018-12-04 16:54:26.664 Time zone: Current: GMT+7 (SE Asia Standard Time), No DST
. 2018-12-04 16:54:26.664 Login time: Tuesday, December 04, 2018 4:54:26 PM
. 2018-12-04 16:54:26.664 --------------------------------------------------------------------------
. 2018-12-04 16:54:26.664 Session name: user@8.8.8.8 (Ad-Hoc site)
. 2018-12-04 16:54:26.664 Host name: 8.8.8.8 (Port: 990)
. 2018-12-04 16:54:26.664 User name: user (Password: Yes, Key file: No)
. 2018-12-04 16:54:26.664 Transfer Protocol: FTP
. 2018-12-04 16:54:26.664 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2018-12-04 16:54:26.664 Disable Nagle: No
. 2018-12-04 16:54:26.664 Proxy: none
. 2018-12-04 16:54:26.664 Send buffer: 262144
. 2018-12-04 16:54:26.664 UTF: 2
. 2018-12-04 16:54:26.664 FTP: FTPS: Implicit TLS/SSL; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
. 2018-12-04 16:54:26.664 Session reuse: Yes
. 2018-12-04 16:54:26.664 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2018-12-04 16:54:26.664 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2018-12-04 16:54:26.664 Cache directory changes: Yes, Permanent: Yes
. 2018-12-04 16:54:26.664 Timezone offset: 0h 0m
. 2018-12-04 16:54:26.664 --------------------------------------------------------------------------
. 2018-12-04 16:54:27.384 Connecting to 8.8.8.8:990 ...
. 2018-12-04 16:54:27.384 Connected with 8.8.8.8:990, negotiating TLS connection...
. 2018-12-04 16:54:27.934 Verifying certificate for "SSP" with fingerprint b0:0b:e7:2b:49:34:78:14:6f:aa:1c:d2:23:ca:ec:59:95:b6:5c:75 and 19 failures
. 2018-12-04 16:54:27.984 Certificate for "SSP" matches cached fingerprint and failures
. 2018-12-04 16:54:27.984 Using TLSv1.1, cipher TLSv1/SSLv3: DHE-RSA-AES128-SHA, 1024 bit RSA
. 2018-12-04 16:54:28.044 TLS connection established. Waiting for welcome message...
< 2018-12-04 16:54:28.044 220 SSPFTP
> 2018-12-04 16:54:28.044 USER user
< 2018-12-04 16:54:28.184 331 Password required for user
> 2018-12-04 16:54:28.184 PASS ********
< 2018-12-04 16:54:28.404 230 Logged on
> 2018-12-04 16:54:28.404 SYST
< 2018-12-04 16:54:28.629 215 UNIX emulated by FileZilla
> 2018-12-04 16:54:28.629 FEAT
< 2018-12-04 16:54:28.844 211-Features:
< 2018-12-04 16:54:28.844 MDTM
< 2018-12-04 16:54:28.844 REST STREAM
< 2018-12-04 16:54:28.844 SIZE
< 2018-12-04 16:54:28.844 MLST type*;size*;modify*;
< 2018-12-04 16:54:28.844 MLSD
< 2018-12-04 16:54:28.844 AUTH SSL
< 2018-12-04 16:54:28.844 AUTH TLS
< 2018-12-04 16:54:28.844 PROT
< 2018-12-04 16:54:28.844 PBSZ
< 2018-12-04 16:54:28.844 UTF8
< 2018-12-04 16:54:28.844 CLNT
< 2018-12-04 16:54:28.844 MFMT
< 2018-12-04 16:54:28.844 EPSV
< 2018-12-04 16:54:28.844 EPRT
< 2018-12-04 16:54:28.844 211 End
> 2018-12-04 16:54:28.844 PBSZ 0
< 2018-12-04 16:54:29.059 200 PBSZ=0
> 2018-12-04 16:54:29.059 PROT P
< 2018-12-04 16:54:29.269 200 Protection level set to P
. 2018-12-04 16:54:29.299 Connected
. 2018-12-04 16:54:29.299 --------------------------------------------------------------------------
. 2018-12-04 16:54:29.299 Using FTP protocol.
. 2018-12-04 16:54:29.299 Doing startup conversation with host.
> 2018-12-04 16:54:29.354 PWD
< 2018-12-04 16:54:29.564 257 "/" is current directory.
. 2018-12-04 16:54:29.564 Getting current directory name.
. 2018-12-04 16:54:29.709 Retrieving directory listing...
> 2018-12-04 16:54:29.709 TYPE A
< 2018-12-04 16:54:29.909 200 Type set to A
> 2018-12-04 16:54:29.909 PASV
< 2018-12-04 16:54:30.109 227 Entering Passive Mode (202,69,69,82,227,79)
> 2018-12-04 16:54:30.109 MLSD
. 2018-12-04 16:54:30.109 Connecting to 202.69.69.82:58191 ...
< 2018-12-04 16:54:30.369 150 Opening data channel for directory listing of "/"
. 2018-12-04 16:54:30.534 <Empty directory listing>
< 2018-12-04 16:54:30.604 450 TLS session of data connection has not resumed or the session does not match the control connection
. 2018-12-04 16:54:30.604 Could not retrieve directory listing
* 2018-12-04 16:54:30.664 (ECommand) Error listing directory '/'.
* 2018-12-04 16:54:30.664 Could not retrieve directory listing
* 2018-12-04 16:54:30.664 TLS session of data connection has not resumed or the session does not match the control connection
. 2018-12-04 16:54:32.774 Startup conversation with host finished.
. 2018-12-04 16:54:36.894 Disconnected from server