On Tue, 20 Nov 2007, Terry Allen wrote:
Hi again,
I am wondering if lftp is capable of doing 2 things that I
haven't been able to find after considerable searching & don't know
if it is capable of the following:
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.
2 - Can lftp do bit transfers or trickle transfers to limit
bandwidth in any way?
Yes
lftp :~> set -a | grep -i limit
set net:limit-rate 0:0
set net:limit-total-max 0
set net:limit-total-rate 0:0
Hi again,
My apologies - while scrolling through the man page, I found
that option - if I understand correctly I could use the following for
a rate limit of 10kbps - please correct me if I am wrong:
set net:limit-rate 10000:10000
set net:limit-total-max 10000
set net:limit-total-rate 10000:10000
--
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
-----------------------------------------------