Topic "Keep remote directory up to date - issue with subdirectories"

Author Message
metaphase
[View user's profile]

Joined: 2017-07-16
Posts: 5
Hi folks

Love WinSCP, been using it for a couple of months. Just noticed recently that despite the option 'update subdirectories' being left unchecked, it is repeatedly uploading subdirectories to the server.

This doesn't happen when I first activate the keep remote dir option (it only uploads files changed in the base directory selected), but the first time a file changes it then starts uploading all subdirectories. I sometimes find if I check and uncheck update subdirectories it'll stop doing it, but it does seem to be doing it most of the time. I'm running the latest version.

Any ideas what's going on or how to sort it?

Thanks!
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
Thanks for your report.
Though I cannot reproduce the problem.

Please attach a full session log file showing the problem (using the latest version of WinSCP) along with some screenshots and step-by-step instructions for reproducing the problem.

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.
Guest




OK thanks, will keep an eye on it. It has done it multiple times over the past couple of days but working just now so will wait until it does it again then enable logging and send!
metaphase
[View user's profile]

Joined: 2017-07-16
Posts: 5
OK thanks, will keep an eye on it. It has done it multiple times over the past couple of days but working just now so will wait until it does it again then enable logging and send!

(sorry, didn't realise forum let you post without registering! please delete 'guest' post Smile )
metaphase
[View user's profile]

Joined: 2017-07-16
Posts: 5
OK logfile attached.

Procedure to replicate
Have more sub-directories on local folder than server
Connect to server
Ensure 'update subdirectories' not ticked
Enable 'keep remote directories up to date'
Note that any changes in home directory are correctly synced
Change one of the files in that directory
Note that WinSCP now tries to sync all the sub-directories too, rather than ignoring them
pi@192.168.1.88-(Dundee).log (52.05 KB) Private file

Description: logfile

martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
Thanks for the log. You are right.

This bug has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1549

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.
metaphase
[View user's profile]

Joined: 2017-07-16
Posts: 5
Thanks, Martin

So far so good, the test version seems to have stopped syncing the sub-directory. I did notice though that it now seems to report three things:

1. change in directory detected
2. file xyz uploaded
3. change in directory detected

It does this each time I save a file. I can understand 1 & 2, but don't quite understand why I'm seeing 3? Obviously not a major issue, but thought I may as well report!
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26706
Location: Prague, Czechia
The "change in directory detected" means that Windows reported to WinSCP that something has changed in the folders of interest.

WinSCP then looks, if the change does justify a new upload. If it does not, nothing happens. Though I can see, that it is confusing. I'll look into it.
_________________
Martin Prikryl
metaphase
[View user's profile]

Joined: 2017-07-16
Posts: 5
Thanks - I was sure it previously only showed the message prior to sending updates. No biggie though, just nice to have subdirectories not all going across Very Happy
Advertisements

You can post new topics in this forum

Search

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