Topic "WinSCP 5.7.6.5874 issue "Could not retrieve directory listing" on FTP server working on ACTIVE MODE"

Author Message
Tommyxx84
[View user's profile]

Joined: 2015-12-04
Posts: 1
Hi there,
I' having a problem to connect to an FTP server that apparently is set up to work on ACTIVE MODE.

I have no access to the server to verify anything (It's my customer's customer FTP server)
I have no access to my customer firewall

BUT

I can connect, push file up and down etc without any issue using Filezilla or just using cmd.exe.

The FTP server I've been told that is working on active mode, so when i set up my connection, i changed it in advance option unticking "passive mode"

File Protocol: FTP
Encryption: No Encryption
Passive mode: OFF
Remote Directory: /

everything else, it's as a new standard connection.

this is what i get



Here the complete error log

. 2015-12-04 19:21:25.263 Connecting to directb2b.dimensiondata.com ...
. 2015-12-04 19:21:25.263 Connected with directb2b.dimensiondata.com. Waiting for welcome message...
< 2015-12-04 19:21:25.544 220 Microsoft FTP Service
> 2015-12-04 19:21:25.544 USER Sektor_NZ
< 2015-12-04 19:21:25.700 331 Password required for Sektor_NZ.
> 2015-12-04 19:21:25.700 PASS ********
< 2015-12-04 19:21:25.934 230 User logged in.
> 2015-12-04 19:21:25.934 SYST
< 2015-12-04 19:21:26.090 215 Windows_NT
> 2015-12-04 19:21:26.090 FEAT
< 2015-12-04 19:21:26.246 211-Extended features supported:
< 2015-12-04 19:21:26.246 LANG EN*
< 2015-12-04 19:21:26.246 UTF8
< 2015-12-04 19:21:26.261 AUTH TLS;TLS-C;SSL;TLS-P;
< 2015-12-04 19:21:26.261 PBSZ
< 2015-12-04 19:21:26.261 PROT C;P;
< 2015-12-04 19:21:26.261 CCC
< 2015-12-04 19:21:26.261 HOST
< 2015-12-04 19:21:26.261 SIZE
< 2015-12-04 19:21:26.261 MDTM
< 2015-12-04 19:21:26.261 REST STREAM
< 2015-12-04 19:21:26.261 211 END
> 2015-12-04 19:21:26.261 OPTS UTF8 ON
< 2015-12-04 19:21:26.417 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2015-12-04 19:21:26.480 Connected
. 2015-12-04 19:21:26.480 --------------------------------------------------------------------------
. 2015-12-04 19:21:26.480 Using FTP protocol.
. 2015-12-04 19:21:26.480 Doing startup conversation with host.
> 2015-12-04 19:21:26.542 PWD
< 2015-12-04 19:21:26.698 257 "/" is current directory.
. 2015-12-04 19:21:26.698 Changing directory to "/".
> 2015-12-04 19:21:26.698 CWD /
< 2015-12-04 19:21:26.854 250 CWD command successful.
. 2015-12-04 19:21:26.854 Getting current directory name.
> 2015-12-04 19:21:26.854 PWD
< 2015-12-04 19:21:27.010 257 "/" is current directory.
. 2015-12-04 19:21:27.182 Retrieving directory listing...
> 2015-12-04 19:21:27.182 TYPE A
< 2015-12-04 19:21:27.322 200 Type set to A.
> 2015-12-04 19:21:27.338 PORT 192,168,8,33,243,149
< 2015-12-04 19:21:27.494 200 PORT command successful.
> 2015-12-04 19:21:27.494 LIST -a
< 2015-12-04 19:21:27.650 125 Data connection already open; Transfer starting.
< 2015-12-04 19:21:27.868 226 Transfer complete.
. 2015-12-04 19:22:27.038 Timeout detected. (data connection)
. 2015-12-04 19:22:27.038 Could not retrieve directory listing
. 2015-12-04 19:22:27.038 LIST with -a failed, will try pure LIST
. 2015-12-04 19:22:27.148 Connecting to directb2b.dimensiondata.com ...
. 2015-12-04 19:22:27.148 Connected with directb2b.dimensiondata.com. Waiting for welcome message...
< 2015-12-04 19:22:27.397 220 Microsoft FTP Service
> 2015-12-04 19:22:27.397 USER Sektor_NZ
< 2015-12-04 19:22:27.553 331 Password required for Sektor_NZ.
> 2015-12-04 19:22:27.553 PASS ********
< 2015-12-04 19:22:27.725 230 User logged in.
> 2015-12-04 19:22:27.725 SYST
< 2015-12-04 19:22:27.881 215 Windows_NT
> 2015-12-04 19:22:27.881 FEAT
< 2015-12-04 19:22:28.193 211-Extended features supported:
< 2015-12-04 19:22:28.193 LANG EN*
< 2015-12-04 19:22:28.193 UTF8
< 2015-12-04 19:22:28.193 AUTH TLS;TLS-C;SSL;TLS-P;
< 2015-12-04 19:22:28.193 PBSZ
< 2015-12-04 19:22:28.193 PROT C;P;
< 2015-12-04 19:22:28.193 CCC
< 2015-12-04 19:22:28.193 HOST
< 2015-12-04 19:22:28.193 SIZE
< 2015-12-04 19:22:28.193 MDTM
< 2015-12-04 19:22:28.193 REST STREAM
< 2015-12-04 19:22:28.193 211 END
> 2015-12-04 19:22:28.193 OPTS UTF8 ON
< 2015-12-04 19:22:28.193 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2015-12-04 19:22:28.255 Connected
. 2015-12-04 19:22:28.255 Doing startup conversation with host.
> 2015-12-04 19:22:28.318 PWD
< 2015-12-04 19:22:28.474 257 "/" is current directory.
. 2015-12-04 19:22:28.474 Changing directory to "/".
> 2015-12-04 19:22:28.474 CWD /
< 2015-12-04 19:22:28.630 250 CWD command successful.
. 2015-12-04 19:22:28.630 Getting current directory name.
> 2015-12-04 19:22:28.630 PWD
< 2015-12-04 19:22:28.786 257 "/" is current directory.
. 2015-12-04 19:22:28.786 Startup conversation with host finished.
. 2015-12-04 19:22:28.864 Retrieving directory listing...
> 2015-12-04 19:22:28.864 TYPE A
< 2015-12-04 19:22:29.020 200 Type set to A.
> 2015-12-04 19:22:29.020 PORT 192,168,8,33,244,21
< 2015-12-04 19:22:29.176 200 PORT command successful.
> 2015-12-04 19:22:29.176 LIST
. 2015-12-04 19:23:29.906 Timeout detected. (data connection)
. 2015-12-04 19:23:29.906 Could not retrieve directory listing
* 2015-12-04 19:23:30.093 (EFatal) **Lost connection.**
* 2015-12-04 19:23:30.093 Timeout detected. (data connection)
* 2015-12-04 19:23:30.093 Could not retrieve directory listing
* 2015-12-04 19:23:30.093 Error listing directory '/'.
. 2015-12-04 19:23:39.438 Connecting to directb2b.dimensiondata.com ...
. 2015-12-04 19:23:39.438 Connected with directb2b.dimensiondata.com. Waiting for welcome message...
< 2015-12-04 19:23:39.672 220 Microsoft FTP Service
> 2015-12-04 19:23:39.672 USER Sektor_NZ
< 2015-12-04 19:23:39.828 331 Password required for Sektor_NZ.
> 2015-12-04 19:23:39.828 PASS ********
< 2015-12-04 19:23:40.155 230 User logged in.
> 2015-12-04 19:23:40.155 SYST
< 2015-12-04 19:23:40.311 215 Windows_NT
> 2015-12-04 19:23:40.311 FEAT
< 2015-12-04 19:23:40.467 211-Extended features supported:
< 2015-12-04 19:23:40.467 LANG EN*
< 2015-12-04 19:23:40.467 UTF8
< 2015-12-04 19:23:40.467 AUTH TLS;TLS-C;SSL;TLS-P;
< 2015-12-04 19:23:40.467 PBSZ
< 2015-12-04 19:23:40.467 PROT C;P;
< 2015-12-04 19:23:40.467 CCC
< 2015-12-04 19:23:40.467 HOST
< 2015-12-04 19:23:40.467 SIZE
< 2015-12-04 19:23:40.467 MDTM
< 2015-12-04 19:23:40.467 REST STREAM
< 2015-12-04 19:23:40.467 211 END
> 2015-12-04 19:23:40.467 OPTS UTF8 ON
< 2015-12-04 19:23:40.654 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2015-12-04 19:23:40.717 Connected
. 2015-12-04 19:23:40.717 Doing startup conversation with host.
> 2015-12-04 19:23:40.779 PWD
< 2015-12-04 19:23:40.935 257 "/" is current directory.
. 2015-12-04 19:23:40.935 Changing directory to "/".
> 2015-12-04 19:23:40.935 CWD /
< 2015-12-04 19:23:41.091 250 CWD command successful.
. 2015-12-04 19:23:41.091 Getting current directory name.
> 2015-12-04 19:23:41.091 PWD
< 2015-12-04 19:23:41.247 257 "/" is current directory.
. 2015-12-04 19:23:41.419 Retrieving directory listing...
> 2015-12-04 19:23:41.419 TYPE A
< 2015-12-04 19:23:41.590 200 Type set to A.
> 2015-12-04 19:23:41.590 PORT 192,168,8,33,244,167
< 2015-12-04 19:23:41.746 200 PORT command successful.
> 2015-12-04 19:23:41.746 LIST
. 2015-12-04 19:24:41.900 Timeout detected. (data connection)
. 2015-12-04 19:24:41.900 Could not retrieve directory listing
* 2015-12-04 19:24:42.056 (EFatal) **Lost connection.**
* 2015-12-04 19:24:42.056 Timeout detected. (data connection)
* 2015-12-04 19:24:42.056 Could not retrieve directory listing
* 2015-12-04 19:24:42.056 Error listing directory '/'.

please advise

Cheers
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You probably need to tell WinSCP its external IP address, as I assume the server cannot connect to the 192.168.8.33

See https://winscp.net/eng/docs/ui_pref_network
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License