Topic "Having problem using -Filemask switch in Synchronize command"

Author Message
Msledge
[View user's profile]

Joined: 2011-10-29
Posts: 5
Here is my command. I'm using it in a .bat file.

winscp.com /command "open ""asp1""" "synchronize ""-filemask=*.pdf"" local D:\temp\ l:/gms/" "exit"

I've searched through the forums and can't find anything related to using WINSCP.COM

Any help is greatly appreciated.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
What problem?
_________________
Martin Prikryl
Msledge
[View user's profile]

Joined: 2011-10-29
Posts: 5
prikryl wrote:
What problem?


The filemask switch doesn't work. Every time I try to use it on the command line I get a message saying the switch isn't valid.

I'm trying to use it with winscp.com. I couldn't successfully use it with winscp.exe either. Do you see anything wrong with my syntax?

Thanks for your response.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
You are probably using WinSCP 4.x. Please upgrade.
_________________
Martin Prikryl
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