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: error in output running WinSCP with script

I do not understand the question.

The synchronize -filemask=... is a scripting command.

There's nothing like option filemask=.
irrupt

Re: error in output running WinSCP with script

martin wrote:

Actually, the exclude (and the include) directive is deprecated since 5.0.6.

You should use synchronize -filemask="|*synchronizefolder.txt;C:\Scripts\GAG001-CARREFOUR BEAUSOLEIL D" ...


does this work in script mode too?

instead of 'option exclude=file.ext;file2.ext;etc;etc'
use 'option filemask=file.ext;file2.ext;etc;etc' ?
martin

Re: error in output running WinSCP with script

Actually, the exclude (and the include) directive is deprecated since 5.0.6.

You should use synchronize -filemask="|*synchronizefolder.txt;C:\Scripts\GAG001-CARREFOUR BEAUSOLEIL D" ...
irrupt

error in output running WinSCP with script

I think this should say 'exclude' and not 'include'

Active session: [1] FTPUser@192.168.1.15
batch continue
reconnecttime 120
transfer binary
include |*synchronizefolder.txt;C:\Scripts\GAG001-CARREFOUR BEAUSOLEIL D
EC;C:\Scripts\GAG001-CARREFOUR BEAUSOLEIL DEC - Copy;C:\Scripts\GAG001-CARREFOUR
BEAUSOLEIL DEC - Copy (2);C:\Scripts\GAG001-CARREFOUR BEAUSOLEIL DEC - Copy (3)
;
Comparing...

Those files are in the exclude directive in my script for WinSCP