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: 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
CinderBDT907

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.