Bug 169 seems to be back (Upload back files modified by local custom command)

Advertisement

jrivett
Donor
Joined:
Posts:
5

Bug 169 seems to be back (Upload back files modified by local custom command)

I reported this issue a while ago (https://winscp.net/forum/viewtopic.php?t=13955) and you quite rightly pointed out that it was already being tracked in bug #169. The issue was subsequently fixed (thanks!) but it seems to have come back recently.

As with my last report, I noticed the issue because changes I make to files on the remote side of a WinMerge comparison no longer get uploaded.

I'm running WinSCP 5.9.3 (Build 7136).

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug 169 seems to be back (Upload back files modified by local custom command)

Thanks for your report.

Though, it works for me.

I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

jrivett
Donor
Joined:
Posts:
5

Re: Bug 169 seems to be back (Upload back files modified by local custom command)

martin wrote:

Thanks for your report. Though, it works for me.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
The problem seems to occur when I'm comparing a directory, but not when I'm comparing an individual file. In other words, if I compare an individual file, and copy differences from local to remote, the changes end up on the remote end (after WinSCP shows an overwrite confirmation dialog). If I compare the folder that contains the changed file, and copy the differences from local to remote, the changes do NOT end up on the remote end (there's also no WinSCP overwrite confirmation dialog).

I'm working with the debug version to create a simple test case that demonstrates the problem.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug 169 seems to be back (Upload back files modified by local custom command)

OK, the improvement was actually never implemented for files in subdirectories.

Reply with quote

jrivett
Donor
Joined:
Posts:
5

Re: Bug 169 seems to be back (Upload back files modified by local custom command)

martin wrote:

OK, the improvement was actually never implemented for files in subdirectories.
Really? I could have sworn it was working until recently...

Any chance that you'll add subdirectory support? It would be so amazingly handy.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug 169 seems to be back (Upload back files modified by local custom command)

Sure, will see what a demand for this is.

Reply with quote

jrivett
Donor
Joined:
Posts:
5

It looks like directories were being handled in an earlier version, but that functionality was rolled back because it caused problems like this one: https://winscp.net/forum/viewtopic.php?t=15051

If I'm reading this correctly, then is there any chance that we could have some kind of a warning or flag that indicates whether changes to the local copy of remote files will be uploaded? Because currently it just fails silently and I only notice when I remember that there should always be an overwrite prompt and there isn't one.

But adding the directory handling again would be nice.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

OK, you are right. I've forgot. Will look into it. If I have anything to test, I'll contact you.

Reply with quote

Advertisement

You can post new topics in this forum