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.

Options
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)

Options

Topic review

martin

Re: Include wild card * not grabbing appropriate files/folders

I'm afraid that WinSCP does not support quoted masks. You can try something like:
option include C:\GCRMC?Studies\*\QSS*,C:\GCRMC?Studies\*\QSS*\*
QSS

Include wild card * not grabbing appropriate files/folders

I am using winscp 3.8.1

I have written a couple scripts using syncronize and the exclude function but i am having trouble with an include and I have even tried it in the gui.

I have some sub directories that start with QSS that need to be syncronized to my ssh server. My script is the following:

option include "C:\GCRMC Studies\*\QSS*","C:\GCRMC Studies\*\QSS*\*"

synchronize remote "C:\GCRMC Studies" "/home/GCRMC/QSS Inbox"


I have used a similar exclude command on my server when doing a sync local and it works fine, but when i am trying to use it on my local machine TO the server it does not grab the sub directories and their files and upload them. Instead it finds no differences when in actuality the server does not even have the QSS sub directory that i am trying to upload.

My initial idea is that there is some bug or problem with using multiple wildcards * for the local computer. It seems like if i run a test include with just one wildcard it will work but when i try to use two wildcards in different directories it finds no differences. Very strange.

Thanks in advance