Hello,
What is the recommended approach for preventing directory/file creation/renaming/removal in some circumstances (e.g. only in the file system's root)?
For renaming, I have attempted:
- cancelling the operation in FileSystemNotifier.RenamePreview event; in this situation I'm not able to provide a meaningful feedback to the sftp client (it receives "Internal server error")
- not doing anything in ReadWriteFileSystemProvider.Rename; in this situation, there is no feedback at all for the client and the server logs the operation as successful (which is a bit confusing for my purpose...)
Thanks!