Having problem using -Filemask switch in Synchronize command

Advertisement

Msledge
Joined:
Posts:
5

Having problem using -Filemask switch in Synchronize command

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Having problem using -Filemask switch in Synchronize command

What problem?
_________________
Martin Prikryl

Reply with quote

Msledge
Joined:
Posts:
5

Re: Having problem using -Filemask switch in Synchronize command

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Having problem using -Filemask switch in Synchronize command

You are probably using WinSCP 4.x. Please upgrade.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum