Topic "Size wildcard in scripts"

Author Message
crishog
[View user's profile]

Joined: 2010-03-08
Posts: 2
Location: London
I'm trying to download a series of .tgz files overnight & I have a working script

One or two are very large & sometimes fail. Not really a big problem, but what I'd like to do is download the many small ones & then attempt the bigger files - at least if it fails I've only a couple to deal with.

I've tried using a mask on the get

get *.tgz<100M

to get then smaller files, but this simply does nothing at all

Am I misunderstanding this mask or does it not work with a script?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for your post. This issue is being tracked already.

Meanwhile this should work:
option exclude >100M
get *.tgz
_________________
Martin Prikryl
crishog
[View user's profile]

Joined: 2010-03-08
Posts: 2
Location: London
prikryl wrote:
Thanks for your post. This issue is being tracked already.

Meanwhile this should work:
option exclude >100M
get *.tgz


I'm relatively new to using WinSCP, so I should have checked the issues first, my apologies.

Thanks for the alternative, much appreciated.

Chris
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