Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


You are missing *, it should be:
...; /serversMinecraft/mods/LetsPlay/current/*

See my example above.


Still includes files from the root.

Besides, if I have something in the whitelist it should ignore everything else by default.

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.


Process was startup => connection => sync preview

with the same preset as before

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.

Here, same process, actually updated the location I use this time:

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


Please upgrade to the latest version of WinSCP first.

Here is the log file

Connect => Synchronize => Change Transfer Preset => Ok to preview changes

I didn't proceed beyond the preview since it would break my local dir.

Log level is "Normal"

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.


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.

Re: Synchronizing automatically includes root

You can exclude the files in the root folder by using an exclude mask with a path: c:\path\to\root\folder\*.

The overall mask will be: mods/; scripts/; config/ | c:\path\to\root\folder\*

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.