Topic "error in output running WinSCP with script"

Author Message
irrupt

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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" ...
_________________
Martin Prikryl
irrupt

Guest


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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I do not understand the question.

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

There's nothing like option filemask=.
Advertisements

You can post new topics in this forum






Search Site

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