Ticket #3945 (new defect)

Opened 5 years ago

Last modified 5 years 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: Future Releases
Component: mc-core Version: 4.8.21
Keywords: Cc: howaboutsynergy@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


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 5 years ago by howaboutsynergy

  • Cc howaboutsynergy@… added
Note: See TracTickets for help on using tickets.