Topic "Filemask not working on Get"

Author Message
johnlondon

Guest


Hello,

I'm trying to grab all files except one directory, here is my script:

open backups
cd
LCD E:\Backups\
GET -filemask=|pictures/
CLOSE

The script runs, and nothing is moved.

What am I doing wrong?
johnlondon

Guest


I should have noted - this script works fine without the mask.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26331
Location: Prague, Czechia
I assume you are getting "Missing parameter for command 'get'." error, because you have not specified any argument to the get command (the switch is not counted).

This is correct:

get * -filemask=|pictures/
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