Post a reply

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: Having problem using -Filemask switch in Synchronize command

You are probably using WinSCP 4.x. Please upgrade.
Msledge

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

Re: Having problem using -Filemask switch in Synchronize command

What problem?
Msledge

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.