Extremely annoying behavior with SSH recycle bin

Advertisement

redneonglow
Joined:
Posts:
6

Extremely annoying behavior with SSH recycle bin

Hi,

I've used WinSCP for a long time, but the SSH recycle bin does something completely annoying. I don't know if this is a bug or a feature, but I'd love to see it removed.

If you have an SSH recycle bin and enable the "overwrite to recycle bin" option, and you are overwriting files to a partition which is not the same partition as the recycle bin directory is on (such as an external drive on /mnt/something or /media/something), an infinite loop of weird errors are given with the option to Abort, Skip, Retry, etc. Only "Abort" works, and then you have to go into settings and disable the "Overwrite to recycle bin" and start over.

I've had this issue on every SFTP connection I use, including on both LAN and Internet transfers.

Again, I'm not sure if this is a bug or a feature, but it is extremely annoying, and should be fixed IMO.

Thank you, Red

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,263
Location:
Prague, Czechia

Re: Extremely annoying behavior with SSH recycle bin

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

redneonglow
Joined:
Posts:
6

I made a mistake in the original message, this is not an external drive, it is a non-LVM LUKS encrypted drive with partition type ext4 and mounted to /mnt/(REMOVED).

Here is the relevant part of the log file, uploaded to the forum in private mode. "Retry" is selected twice, followed by "Abort." The mount point of the drive has been replaced with (REMOVED) and the username replaced with (USER).
  • winscp-overwriteprob-censored.txt (6.46 KB, Private file)
Description: Here is the relevant part of the log file, uploaded to the forum in private mode.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,263
Location:
Prague, Czechia

OK, but you should press Skip, not Retry or Abort. What behaviour do you get with Skip?

Reply with quote

redneonglow
Joined:
Posts:
6

martin wrote:

OK, but you should press Skip, not Retry or Abort. What behaviour do you get with Skip?

After "Skip" I get "Cannot overwrite remote file, Press "Delete" to delete the file and create new one instead of overwriting it." Again with the same Error 4 listed.

Pressing "Delete" does nothing and gives me the same message from before. Skip, Delete, Skip, Delete...

Reply with quote

Advertisement

redneonglow
Joined:
Posts:
6

Actually it moves on to the next file if I press "Skip" twice.

Here is the relevant part of the log, uploaded privately, with the personal information removed as mentioned above.
  • winscp-recyclebin-skip-censored.log (17.62 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,263
Location:
Prague, Czechia

Re: Extremely annoying behavior with SSH recycle bin

Thanks.

This issue has been added to the tracker:
https://winscp.net/tracker/1766

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,263
Location:
Prague, Czechia

redneonglow wrote:

I still have the same problem with the development version.
Can you please respond to my email and send me a new session log file?

Reply with quote

redneonglow
Joined:
Posts:
6

Here is a log file of the new development version, with the same things "(REMOVED)" involving the transfer and attempt to overwrite files. In each of the three files, I do "retry" twice followed by "skip" once.
  • bunker-developmentver-20190716.log (28.15 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,263
Location:
Prague, Czechia

I'm not sure I understand, what problem do you see now.
The file could not be moved to the recycle bin. You got a message about that. You retried the move twice, what could not help. Then you skipped the move and the file was successfully overwritten and uploaded. That's the expected behavior. What did you expect differently?

Reply with quote

Advertisement

You can post new topics in this forum