Overwriting without confirmation

Advertisement

Georg
Joined:
Posts:
18

Overwriting without confirmation

Using WinSCP 5.13.5 (Build 8967) with default preferences except "Maximal number of transfers at the same time" set to "1".

I selected many files on my ftp server.
I started to "download and delete (F6)" these files to my local disk in the Background (queue1).
This background process was still in progress when I refreshed the ftp directory and selected new files to "download and delete (F6)" (queue2).
Accidently I selected some files from queue1 again so that these files were also in queue2.

When queue2 is processing such an already moved file it displays an error message that it can't open the source file.
Bug: At this time the target file is already overwritten with a zero bytes file.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Overwriting without confirmation

Can you reproduce the problem?
I believe this should happen only if you instruct WinSCP to download very same file at the very same moment, not when "processing such an already moved file".

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

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

Georg
Joined:
Posts:
18

After skipping the 3 files were overwritten and now the size is 0 Bytes:
Dateiname                                                            Größe           Geändert   Typ                    BeschreibungBildeigenschaften
----------------------------------------------------------   -------------   ----------------   --------------------   -----------   ----------------
A2 - Abenteuer Autobahn 2018-12-10 19-10.rec                             0   11.12.2018 09:57   REC Video File (VLC)
A2 - Abenteuer Autobahn 2018-12-10 19-10.rec.inf                         0   11.12.2018 09:57   Setup-Informationen
A2 - Abenteuer Autobahn 2018-12-10 19-10.rec.nav                         0   11.12.2018 09:57   NAV-Datei
Callin' Mr. Brain 2018-12-11 03-40.rec                       4.230.151.872   11.12.2018 00:00   REC Video File (VLC)
Callin' Mr. Brain 2018-12-11 03-40.rec.inf                           3.316   11.12.2018 00:00   Setup-Informationen
Callin' Mr. Brain 2018-12-11 03-40.rec.nav                      11.520.064   11.12.2018 00:00   NAV-Datei

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum