How to avoid "Could not retrieve directory listing" error in GUI usage on FTP restricted permissions

Advertisement

CinderBDT907
Joined:
Posts:
1
Location:
Alaska, USA

How to avoid "Could not retrieve directory listing" error in GUI usage on FTP restricted permissions

WinSCP version 5.7.6
Microsoft Windows XP
FTP
GUI Commander interface
Error message "Could not retrieve directory listing"
Full log file attached.

Can I instruct the GUI not to attempt to list the directory?

This error happens consistently every time I connect to this server.
It happens also with other FTP clients.
My goal is to connect and upload the file without listing the directory. I believe that the server administrator has restricted the permissions such that the directory listing fails.
https://winscp.net/eng/docs/message_permission_denied

I want to avoid having the additional steps to clear the dialog box of the error message.

I am willing to script the interaction if that is the only way to avoid the behavior, but I would prefer to continue to "drag and drop" files in the GUI as not all people who perform the procedure are comfortable executing a script.

Thank you.

Reply with quote

Advertisement

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

Re: How to avoid "Could not retrieve directory listing" error in GUI usage on FTP restricted permissions

You cannot have WinSCP not list the remote directory after logging in.

But you can instead create a desktop shortcut to a specific server and folder and have your users drop the files on the shortcut. No file browser will display.
https://winscp.net/eng/docs/integration#icons

Reply with quote

Advertisement

You can post new topics in this forum