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

Author Message
[View user's profile]

Joined: 2016-05-03
Posts: 1
Location: Alaska, USA
WinSCP version 5.7.6
Microsoft Windows XP
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.

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.
sanitized_ftp_upload_log.txt (4.8 KB) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
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.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License