GetFiles with Remove set to true deletes empty directory
When executing
This is not the behavior I expected.
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)