Hi All,
we are getting below error message when we tried to access FTPs through WINSCP.
Error listing directory '/'
Could not retrieve directory listing
The user name or password is incorrect.
in the logs we noticed that connection has been established. while starting session & reading remote directory it throws above error message. Have verified all the ports open at Firewall end. Below are WinScp logs. Please help.
-----------------------------------------------------
. 2018-03-21 10:45:59.312 WinSCP Version 5.13 (Build 8172) (OS 10.0.14393 - Windows 10 Enterprise 2016 LTSB)
. 2018-03-21 10:45:59.312 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2018-03-21 10:45:59.312 Log level: Normal
. 2018-03-21 10:45:59.312 Local account: Domain\xxxxxx
. 2018-03-21 10:45:59.312 Working directory: C:\Program Files (x86)\WinSCP
. 2018-03-21 10:45:59.312 Process ID: 6180
. 2018-03-21 10:45:59.312 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2018-03-21 10:45:59.312 Time zone: Current: GMT+8 (Malay Peninsula Standard Time), No DST
. 2018-03-21 10:45:59.312 Login time: Wednesday, 21 March 2018 10:45:59 AM
. 2018-03-21 10:45:59.312 --------------------------------------------------------------------------
. 2018-03-21 10:45:59.312 Session name: servername.sg (Site)
. 2018-03-21 10:45:59.312 Host name: servername.sg (Port: 990)
. 2018-03-21 10:45:59.312 User name: (Password: No, Key file: No, Passphrase: No)
. 2018-03-21 10:45:59.312 Transfer Protocol: FTP
. 2018-03-21 10:45:59.312 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2018-03-21 10:45:59.312 Disable Nagle: No
. 2018-03-21 10:45:59.312 Proxy: None
. 2018-03-21 10:45:59.312 Send buffer: 262144
. 2018-03-21 10:45:59.312 UTF: Auto
. 2018-03-21 10:45:59.312 FTPS: Implicit TLS/SSL [Client certificate: No]
. 2018-03-21 10:45:59.312 FTP: Passive: No [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2018-03-21 10:45:59.312 Session reuse: Yes
. 2018-03-21 10:45:59.312 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2018-03-21 10:45:59.312 Local directory: C:\Users\dinesh_sargunam\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2018-03-21 10:45:59.312 Cache directory changes: Yes, Permanent: Yes
. 2018-03-21 10:45:59.312 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2018-03-21 10:45:59.312 Timezone offset: 0h 0m
. 2018-03-21 10:45:59.312 --------------------------------------------------------------------------
. 2018-03-21 10:45:59.312 Username prompt (no username provided)
. 2018-03-21 10:46:04.651 Connecting to servername.sg:990 ...
. 2018-03-21 10:46:04.651 Connected with servername.sg:990, negotiating TLS connection...
. 2018-03-21 10:46:04.651 Verifying certificate for "" with fingerprint 3e:84:6b:16:e8:39:4a:35:fc:88:31:84:e9:f4:08:46:54:63:68:2e and 20 failures
. 2018-03-21 10:46:04.651 Certificate common name "rp-intsftp.rp.edu.sg" matches hostname
. 2018-03-21 10:46:04.682 Certificate verified against Windows certificate store
. 2018-03-21 10:46:04.698 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA384
. 2018-03-21 10:46:04.729 TLS connection established. Waiting for welcome message...
< 2018-03-21 10:46:04.729 220 Microsoft FTP Service
> 2018-03-21 10:46:04.729 USER domain\username
< 2018-03-21 10:46:04.729 331 Password required
> 2018-03-21 10:46:10.051 PASS *********
< 2018-03-21 10:46:10.067 230 User logged in.
> 2018-03-21 10:46:10.067 SYST
. 2018-03-21 10:46:10.067 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2018-03-21 10:46:10.067 215 Windows_NT
> 2018-03-21 10:46:10.067 FEAT
< 2018-03-21 10:46:10.067 211-Extended features supported:
< 2018-03-21 10:46:10.067 LANG EN*
< 2018-03-21 10:46:10.067 UTF8
< 2018-03-21 10:46:10.067 AUTH TLS;TLS-C;SSL;TLS-P;
< 2018-03-21 10:46:10.067 PBSZ
< 2018-03-21 10:46:10.067 PROT C;P;
< 2018-03-21 10:46:10.067 CCC
< 2018-03-21 10:46:10.067 HOST
< 2018-03-21 10:46:10.067 SIZE
< 2018-03-21 10:46:10.067 MDTM
< 2018-03-21 10:46:10.067 REST STREAM
< 2018-03-21 10:46:10.067 211 END
> 2018-03-21 10:46:10.067 OPTS UTF8 ON
< 2018-03-21 10:46:10.067 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2018-03-21 10:46:10.067 PBSZ 0
< 2018-03-21 10:46:10.067 200 PBSZ command successful.
> 2018-03-21 10:46:10.067 PROT P
< 2018-03-21 10:46:10.067 200 PROT command successful.
. 2018-03-21 10:46:10.098 Connected
. 2018-03-21 10:46:10.098 --------------------------------------------------------------------------
. 2018-03-21 10:46:10.098 Using FTP protocol.
. 2018-03-21 10:46:10.098 Doing startup conversation with host.
> 2018-03-21 10:46:10.119 PWD
< 2018-03-21 10:46:10.120 257 "/" is current directory.
. 2018-03-21 10:46:10.120 Changing directory to "/".
> 2018-03-21 10:46:10.120 CWD /
< 2018-03-21 10:46:10.123 250 CWD command successful.
. 2018-03-21 10:46:10.123 Getting current directory name.
> 2018-03-21 10:46:10.123 PWD
< 2018-03-21 10:46:10.123 257 "/" is current directory.
. 2018-03-21 10:46:10.169 Retrieving directory listing...
> 2018-03-21 10:46:10.169 TYPE A
< 2018-03-21 10:46:10.169 200 Type set to A.
> 2018-03-21 10:46:10.169 PORT 10,60,112,151,240,215
< 2018-03-21 10:46:10.169 200 PORT command successful.
> 2018-03-21 10:46:10.169 LIST -a
. 2018-03-21 10:46:10.201 Data connection closed
. 2018-03-21 10:46:10.201 <Empty directory listing>
< 2018-03-21 10:46:10.201 550 The user name or password is incorrect.
. 2018-03-21 10:46:10.201 Could not retrieve directory listing
. 2018-03-21 10:46:10.201 LIST with -a failed, will try pure LIST
. 2018-03-21 10:46:10.201 Retrieving directory listing...
> 2018-03-21 10:46:10.201 TYPE A
< 2018-03-21 10:46:10.201 200 Type set to A.
> 2018-03-21 10:46:10.201 PORT 10,60,112,151,240,216
< 2018-03-21 10:46:10.201 200 PORT command successful.
> 2018-03-21 10:46:10.201 LIST
. 2018-03-21 10:46:10.247 Data connection closed
. 2018-03-21 10:46:10.247 <Empty directory listing>
< 2018-03-21 10:46:10.247 550 The user name or password is incorrect.
. 2018-03-21 10:46:10.247 Could not retrieve directory listing
* 2018-03-21 10:46:10.310 (ECommand) Error listing directory '/'.
* 2018-03-21 10:46:10.310 Could not retrieve directory listing
* 2018-03-21 10:46:10.310 The user name or password is incorrect.