Synchronizing automatically includes root

Advertisement

Forecaster
Joined:
Posts:
7
Location:
Sweden

Synchronizing automatically includes root

Recently my WinSCP was reset, probably during an update, and I lost all my servers and settings. Among these settings were my file transfer profiles.

I had a pair of profiles specifically for syncing the files of my minecraft server with my client when adding/removing mods or editing configs. I just edited a few configs and wanted to sync the changes when I found that my profiles were missing. The profiles were configured to only sync certain files such as configs and mod files. I forget exactly how they were set up.

I've been trying to re-create them, and found that even if I tell it to include three specific folders it keeps trying to sync everything in the root folder as well.

I tried working around this by excluding everything by adding a wildcard (*) in each of the exclude fields, but that caused it to ignore everything and tell me there were no differences, even though I'd specified the folders I wanted to include. Inclusion should have a higher priority than exclusion. But it seems WinSCP prioritizes exclusion for some reason.

Attached is how I want the profile to look.

eDcMIVc.png

Reply with quote

Advertisement

Forecaster
Joined:
Posts:
7
Location:
Sweden

Nope.

Doing this:


It's still including files and directories from the root dir that are not in the "include directories" list.

Attached is the result.

I'm doing Mirror Remote => Local by the way.

Description: Result

F4LlhGn.png

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
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

Advertisement

Forecaster
Joined:
Posts:
7
Location:
Sweden

I did? Just before doing that test I hit "check for updates" it told me there was an update, I downloaded and installed it and restarted the application.

Oh. It installed the update in a different location...

Sigh.

Reply with quote

martin
Site Admin
martin avatar

Strange. It behaves differently for me with the same setup.

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

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

The log file shows that your file mask is
mods/; scripts/; config/ | emblem*; Clicketyclack*
There's no exclude mask with the absolute path to the remote root.

Reply with quote

Advertisement

You can post new topics in this forum