Could not retrieve directory listing Can't open data connection.

Advertisement

Mal1661
Joined:
Posts:
1
Location:
UK

Could not retrieve directory listing Can't open data connection.

So I have been using WinSCP for years, I have not changed my configuration, but this morning I am getting the error
Could not retrieve directory listing Can't open data connection.
This is my log of the situation:
. 2022-02-21 09:49:48.848 Using FTP protocol.
. 2022-02-21 09:49:48.848 Doing startup conversation with host.
> 2022-02-21 09:49:48.863 PWD
< 2022-02-21 09:49:48.913 257 "/"
. 2022-02-21 09:49:48.913 Changing directory to "/www".
> 2022-02-21 09:49:48.913 CWD /www
< 2022-02-21 09:49:48.968 250 Directory successfully changed.
. 2022-02-21 09:49:48.968 Getting current directory name.
> 2022-02-21 09:49:48.968 PWD
< 2022-02-21 09:49:49.023 257 "/www"
. 2022-02-21 09:49:49.091 Retrieving directory listing...
> 2022-02-21 09:49:49.091 TYPE A
< 2022-02-21 09:49:49.145 200 Switching to ASCII mode.
> 2022-02-21 09:49:49.145 PASV
< 2022-02-21 09:49:49.199 425 Can't open data connection.
. 2022-02-21 09:49:49.199 Could not retrieve directory listing
. 2022-02-21 09:49:49.199 LIST with -a failed, will try pure LIST
. 2022-02-21 09:49:49.199 Retrieving directory listing...
> 2022-02-21 09:49:49.199 TYPE A
< 2022-02-21 09:49:49.292 200 Switching to ASCII mode.
> 2022-02-21 09:49:49.292 PASV
< 2022-02-21 09:49:49.365 425 Can't open data connection.
. 2022-02-21 09:49:49.365 Could not retrieve directory listing
* 2022-02-21 09:49:49.412 (ECommand) Error listing directory '/www'.
* 2022-02-21 09:49:49.412 Could not retrieve directory listing
* 2022-02-21 09:49:49.412 Can't open data connection.
. 2022-02-21 09:49:50.939 Startup conversation with host finished.
Just wondering if anyone has any tips. I have just moved house so maybe it is something to do with my new IP address? I am unsure.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
37,181
Location:
Prague, Czechia

Re: Could not retrieve directory listing Can't open data connection.

Does any other FTP client work in the same setup? Did you try to talk to your server administrator or internet provider?

Reply with quote

Advertisement

You can post new topics in this forum