meerkt wrote:I'll try them (cheap sites notwithstanding
), thanks.
Recycle Bin doesn't really need SFTP-level support, it can be a server settings that's transparent to the client.
chuckula, did you have a specific server in mind for scripting?
Move to Recycle Bin directory won't create the shell metadata, but I guess it should be possible to trigger a shell-delete.
When it comes to deleting from the server where the files end up in the recycle bin of the client [or even the recycle bin of the server for that matter], the main piece of software I would think of would actually be the SFTP client and not the SFTP server. It's the client's job to issue the commands to the server to perform the basic file operations that get the job done. When it comes to recycling a complex directory structure, you'd use the same general SFTP commands that are used for a recursive file move operation, with the exception being that the destination of the move happens to be the Recycle Bin instead of a normal directory. I'm still not quite sure if you want to delete files from a server where they end up in the recycle bin
of the server or instead in the recycle bin
of the client but both operations should be possible if the client is configured properly.
I don't know how "transparent" this operation would be though. For example, if you just expect to issue the standard delete ("rm" in UNIX parlance) command and have files end up in the correct recycling bin, I'm not aware of any software that does that by default. If you can setup the client to delete by actually moving the files (including more complex directory structures) to proper target in the recycle bin, then that might do the job.
Here's the closest thing I've found that might be close to what you want where the
client (WinSCP in this case) "deletes" files on a server by copying them to a predetermined directory [on the server in this case] that you could re-target to be the standard Windows recycle bin:
https://winscp.net/eng/docs/ui_login_recycle_bin Hopefully this points you in the right direction, but I don't know if it does everything you want.