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: Issue with SFTP sites that do not allow LIST permission (e.g. Write only)

You cannot prevent WinSCP from displaying the initial error.
You can prevent WinSCP from trying to reload the directory after the upload by disabling "Automatically refresh remote directory after operation":
https://winscp.net/eng/docs/ui_pref_panels_remote
mcdonamw

I forgot to mention...

I forgot to mention but I've already tried the preference to "Continue on error (advanced users)" to no effect.
mcdonamw

Issue with SFTP sites that do not allow LIST permission (e.g. Write only)

I found a similar thread in these forums from 2018 but it didn't go anywhere.

I have an issue where I'm trying to set up an SFTP server (using Azure). I only want connecting clients to be able to upload files, but not see existing files in the directory. I am able to set the permissions accordingly to only allow WRITE privileges. LIST is unselected.

However, it seems WinSCP is having issues with this scenario. When I connect to the server, it immediately tries to do a list, and is denied leading to a nasty error dialog. However, if I dismiss the dialog, it does appear I am able to upload a file. Unfortunately after each upload, WinSCP throws this error dialog about being unable to list contents of the directory.

Is there any way to suppress this error?