I cannot delete folder via FTP

Nov 22, 2013 at 7:11 AM
Edited Nov 22, 2013 at 7:23 AM
I have this method:

private void DeleteFileSystemEntry(string name) {
ICloudFileSystemEntry fsEntry = FileSharingStorage.GetFileSystemObject(name, _workingFolder);
bool isDeleted = FileSharingStorage.DeleteFileSystemEntry(fsEntry);
}

I use it via DropBox and WebDav to delete files and folders and it works.
When I try to use the method via FTP it doesn't work. It does not rise any exception, but it hangs on DeleteFileSystemEntry and I have to kill my application. If I delete the folder from FTP file sharing manually, it starts to work again.
If I delete a file, it works.

Some suggestions?
Jan 17, 2014 at 12:50 PM