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

david.vangeest@...

GetFiles with Remove set to true deletes empty directory

When executing GetFiles on a server with an empty directory, WinSCP is sending a command to delete the actual directory the files are stored in. Here's how I have the command setup:

session.GetFiles("/", _mySettings.DownloadDirectory, true, transferOptions)

This is not the behavior I expected.