id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3197	FTP renaming leads to DATA LOSS	dnied		"Renaming a file on a remote FTP server while an upload to same server is in progress, mc fails with 'Incomplete file retrieved Delete/Keep'. Upon clicking 'Keep' the remote file is renamed and made 0-length.

How to reproduce:

1. with mc, start long upload - in the background - to a remote FTP server;

2. while uploading, try to rename (via mc's 'move') a different, unrelated file, on the same remote FTP server, in the same directory (a 'move' from the remote FTP server to the remote FTP server, changing only the file name)

What happens:

mc hangs until the background upload terminates. Then displays 'Incomplete file retrieved Delete/Keep'. Upon clicking 'Keep' the remote file (the one that was to be renamed) is renamed and made 0-length. YOU LOST YOUR FILE. THANK YOU MC !


{{{
> mc --version
GNU Midnight Commander 4.8.8
Built with GLib 2.32.4
Using the ncurses library
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;
}}}"	defect	new	blocker	Future Releases	mc-vfs	4.8.8			info@…			no branch	
