Topic "problem with exclude mask (again?)"

Author Message
maxguyver
[View user's profile]

Joined: 2011-06-09
Posts: 2
Location: France
Hi there,
i've got a problem with the exclude mask. Even though i've read several posts about this problem, i cannot find the solution.

Inside a "test" folder, i have 2 folders : "1" and "2". I want to download all the "test" folder (with all the subfolders and files), but not the folder "1". (sorry i'm french and not fluent in english)

I use this kind of script:

option batch on
option confirm off
open log:pass@domain.com
option transfer binary
get test/
option exclude 1

kinda easy...but it downloads everything. Am i wrong?
Thanks in advance.
Max
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
You need to set the exclusion mask before the get command.
_________________
Martin Prikryl
maxguyver
[View user's profile]

Joined: 2011-06-09
Posts: 2
Location: France
prikryl wrote:
You need to set the exclusion mask before the get command.


hehe, so easy...i should have found it myself...but i didn't! Thanks a lot, it works great!
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