Ticket #3945 (closed defect: worksforme)

Opened 6 years ago

Last modified 4 months ago

ssh vfs: network problems during move operation resulted in deleted local file and partial remote file

Reported by: cri Owned by:
Priority: major Milestone:
Component: mc-core Version: 4.8.21
Keywords: Cc: howaboutsynergy@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

While using F6 to move a file from the local system to a remote ssh server in the other panel (using the ssh VFS), something went wrong on the network, I got two red error popups mentioning some input/output or pipe error (sorry I can't be more precise, I skipped them quickly), and as a result the remote copy was incomplete (truncated), but the local copy was removed, so I lost my file.

This never occurred to me before.

Sometimes I had such network problems while transferring files using the FTP (not SSH) VFS: MC asked if I wanted to keep/delete the partial file on the remote system, but NEVER removed the local file!

Since I skipped through the red popup alerts very quickly accepting the default choices, I'm not 100% sure if this is really a bug in the SSH VFS, or if I made a mistake with the popups (but in this case the default choices in the popup should NEVER allow deleting a file when the copy/move operation was not successful!)

Change History

comment:1 Changed 6 years ago by howaboutsynergy

  • Cc howaboutsynergy@… added

comment:2 Changed 4 months ago by cri

Well, I didn't manage to er reproduce this in the past 4 years, so I guess I had messed something up (or it has been silently fixed), so I guess you can close this.

comment:3 Changed 4 months ago by zaytsev

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.