On Tue, Nov 20, 2007 at 04:51:58AM -0500, Justin Piszcz wrote:
 On Tue, 20 Nov 2007, Terry Allen wrote:
 >1 - On a mirror job, if a file is larger than a specified size (say
 >100MB), can that file be bypassed & an email sent to notify the system
 >admin that the file needs to be updated at a suitable time?
 No, lftp will not send e-mail.

But it can bypass the file. See --size-range option.

Hi again,
Thanks for the reply - I see that in the man page. What kind of format would I use to download only files that are say between 0 bytes & 100MB? If I needed to alert on larger files, I guess I would need to combine lftp into some kind of script to send an email alert - the larger file size I suppose would be listed in the debug output on lftp's mirroring.
--

Bye for now, Terry Allen ___________________________________________________________________
hEARd

Postal Address:
        hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia
Internet -
        WWW: http://heard.com.au http://itavservices.com
EMAIL: [EMAIL PROTECTED]
Phone: Australia - 02 4388 1400 / International - + 61 2 43881400
Mobile: Australia - 04 28881400 / International - 61 4 28881400
-----------------------------------------------
Non profit promotion for new music - since 1994
-----------------------------------------------

Reply via email to