Could not retrieve directory listing

Advertisement

adi.shva@accadiasoftware.com
Joined:
Posts:
2
Location:
Israel

Could not retrieve directory listing

Hi guys,

I saw several entries with this topic, followed all suggested actions, but none of them actually solved the problem. I'm using version 5.19.5. Any ides?

Here the the error-message full text:
Timeout detected. (data connection)
Could not retrieve directory listing
Error listing directory '/'.
Thank you,

Adi

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,469
Location:
Prague, Czechia

Re: Could not retrieve directory listing

Can you see the directory contents in any other FTP client?

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

adi.shva@accadiasoftware.com
Joined:
Posts:
2
Location:
Israel

reply in response to Martin's response

Tried with FileZilla and the connection fails there too.

Here is the log from the FTP server (Xlight FTP Server version 3.9.3.2 (x64)):
05/24/2022 21:04:38 (anonymous 185.175.35.178<--185.167.99.191:30021) "150 Opening ASCII mode data connection for MLSD (55 bytes)."
05/24/2022 21:01:36 (anonymous 185.175.35.178<--185.167.99.191:30021) "211 End"
05/24/2022 21:01:36 (anonymous 185.175.35.178-->185.167.99.191:30021) "PWD"
05/24/2022 21:01:36 (anonymous 185.175.35.178<--185.167.99.191:30021) "257 "/""
05/24/2022 21:01:36 (anonymous 185.175.35.178-->185.167.99.191:30021) "TYPE A"
05/24/2022 21:01:36 (anonymous 185.175.35.178<--185.167.99.191:30021) "200 Type set to A."
05/24/2022 21:01:36 (anonymous 185.175.35.178-->185.167.99.191:30021) "PASV"
05/24/2022 21:01:36 (anonymous 185.175.35.178<--185.167.99.191:30021) "227 Entering Passive Mode (185,167,99,191,215,148)"
05/24/2022 21:01:36 (anonymous 185.175.35.178-->185.167.99.191:30021) "MLSD"
05/24/2022 21:01:36 (anonymous 185.175.35.178<--185.167.99.191:30021) "150 Opening ASCII mode data connection for MLSD (55 bytes)."
05/24/2022 21:02:01 (not login 185.175.35.178<--185.167.99.191:30021) "220 Xlight FTP Server 3.9 ready..."
05/24/2022 21:02:01 (not login 185.175.35.178-->185.167.99.191:30021) "USER anonymous"
05/24/2022 21:02:01 (not login 185.175.35.178<--185.167.99.191:30021) "331 Anonymous login OK, send your e-mail as password"
05/24/2022 21:02:01 (not login 185.175.35.178-->185.167.99.191:30021) "PASS *****"
05/24/2022 21:02:01 (anonymous 185.175.35.178<--185.167.99.191:30021) "230 Login OK"
05/24/2022 21:02:01 (anonymous 185.175.35.178-->185.167.99.191:30021) "SYST"
05/24/2022 21:02:01 (anonymous 185.175.35.178<--185.167.99.191:30021) "215 UNIX Type: L8"

Reply with quote

martin
Site Admin
martin avatar

Re: reply in response to Martin's response

How do you connect to the server? Is it a local network server or is it over internet? Did you contact the server or network administrator?

Reply with quote

adishva
Guest

Re: reply in response to Martin's response

Hello Martin,

I’m connecting via Internet to a VPS. Regarding the server administrator – I'm afraid it's me. If you have any suggestion regarding the settings of the server – I'll be happy to apply them.

Adi

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: reply in response to Martin's response

You need to make sure FTP data connections make it through your VPN too, not only the primary FTP control connection.

In general, it's way easier to make SSH/SFTP connections working through complex networks than FTP.

Reply with quote

Advertisement

You can post new topics in this forum