Post a reply :: Support Forum

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Tip: Styles can be applied quickly to selected text.

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

crishog

Re: Size wildcard in scripts

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

Re: Size wildcard in scripts

Thanks for your post. This issue is being tracked already.

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

Size wildcard in scripts

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?