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: WinSCP 5.7.6.5874 issue "Could not retrieve directory listing" on FTP server working on ACTIVE MODE

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
Tommyxx84

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

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

<invalid hyperlink removed by admin>

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