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

Author Message
CinderBDT907
[View user's profile]

Joined: 2016-05-03
Posts: 1
Location: Alaska, USA
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.
sanitized_ftp_upload_log.txt (4.8 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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.
https://winscp.net/eng/docs/integration#icons
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License