Topic "Overwrite confirmation does not work in the first seconds after changing directory"

Author Message
Shores
[View user's profile]

Joined: 2015-10-07
Posts: 4
This bug is happening when synchronized browsing is active, and is happening since many versions ago, and still is in the latest:

In the Commander interface, use the local pane to change directory, then RAPIDLY drag and drop a file already present in remote from local to remote panel: no overwrite confirmation is asked, the file simply gets overwritten in remote dir.

Note that if you wait some time, letting WinSCP "get aware" that the remote panel has changed directory as per synchronized browsing, then the overwrite confirmation warning correctly appears.

So this seems a sort of timing issue, when the local panel doesn't wait for the remote one to be ready when checking if the file that is being dropped is present in remote.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
Shores
[View user's profile]

Joined: 2015-10-07
Posts: 4
I downloaded the debug version, but I haven't been able to reproduce the bug, but maybe this is due to the fact that the debug version is much slower.

What happens with it is that in the time frame when the normal version exibits the bug, the debug one, being slower, doesn't accept inputs and doesn't make me drag local pane files to the remote panel; since the bug is only present in the first moments after changing dirs, and the debug version doesn't make me drag anything in these moments, maybe the bug has already been corrected in the codebase used for the debug version...

Could you send me a non debug 5.8 version, so that I can test if the bug is still present or not? I think the slowness of the debug version makes it very difficult to see the bug in action, if ever it's still present...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I have sent you a development (non-debug) build.
Shores
[View user's profile]

Joined: 2015-10-07
Posts: 4
I tested the non debug version you sent me, and it works flawlessly: when changing directories , whether or not directory caching is enabled, WinSCP refuses to transfer files to the remote dir until it has refreshed it, and seems to always correctly asks for confirmation if the file exists in remote dir.

Can I keep using this version you sent me or it has bugs that prevent using it everyday?

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Shores wrote:
Can I keep using this version you sent me or it has bugs that prevent using it everyday?

You can use it.
Shores
[View user's profile]

Joined: 2015-10-07
Posts: 4
Thanks!

Any idea on when this version will be publicly available?

Thanks again, for the responses and for the wonderful WinSCP!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
5.7.6 will be released in few weeks. Though as I do not know what actually causes the difference, I do not know if the "fix/change" is present in 5.7.6.

No date set for 5.8 yet.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License