GetFiles with Remove set to true deletes empty directory

Advertisement

david.vangeest@...
Guest

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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum