This works!  Thanks so much!

-----Original Message-----
From: Alexander V. Lukyanov [mailto:[email protected]] 
Sent: Thursday, June 10, 2010 4:18 AM
To: James Leyden
Cc: [email protected]
Subject: Re: lftp request

On Mon, Jun 07, 2010 at 12:54:39PM -0400, James Leyden wrote:
> Yesterdays file was TICK_dmsithd_20100606.zip, todays will be something 
> similar but _dmsithd_ will be different and not predictable.  Ideally I'd 
> like a regular expression or a way of having mget retry until it downloads 1 
> file - currently mget will not retry if no files exist and I don't know when 
> the file will arrive.
> 
> Do you know of any solution for something like this?

Try this:

   set cache:enable no
   repeat -c 1000 --until-ok 1m mget TICK_*_20100606.zip

-- 
   Alexander.

Reply via email to