Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Okay, thanks for your help!
martin

With SCP, once batch transfer is started no other action can take place, until the batch transfer finishes. Also when uploading whole directory, there's no way to check whether the files in the directory already exists on remote site. That's also the reason why there are not overwrite confirmations for uploads of files in folder for SCP.
Guest

Why can this be done with SFTP and not with SCP? It seems to me that this can do the trick:

When transferring a file, before transferring it to the target directory, always first copy the current file in the target directory with the same name (if it exists) to the "recycle bin" (i.e. /tmp) with filename name-timestamp.ext.

This may take some extra time, but it is to the user to decide to enable it (perhaps you can put a warning next to the option). Now it is absolutely not possible, then it is! I think many users would use this feature, even it will make the transfers a little bit slower.
martin

Re: Preserve overwritten remote files to recycle bin for SCP

This cannot be done. At least not for batch (multiple-file) transfers as with SCP the upload is server-driven. It may be solved for single file uploads, but the behaviour will become pretty inconsistent then? :-)
Guest

Preserve overwritten remote files to recycle bin for SCP

Hi,

It would be really great if the option "Preserve overwritten remote files to recycle bin" (as described at https://winscp.net/eng/docs/ui_login_recycle_bin) would also work for SCP (and eventually FTP). I think this shouldn't be too difficult. I really like to make backups of the files I've overwritten. Unfortunately many editors don't support such features and I thought WinSCP would be the ideal solution, but then I figured out that the option only works for SFTP at the moment.

Thanks in advance!

Jeroen