[Official lftp website]
LftpQueue - How to setup a queue using Linux and
lftp
lftp configuration items relevant to etree etiquette (from
man 1 lftp):
- net:reconnect-interval-base sets the base minimal time between reconnects. Actual interval depends on net:reconnect-interval-multiplier and number of attempts to perform an operation.
- net:reconnect-interval-max sets maximum reconnect interval. When current interval after multiplication by net:reconnect-interval-multiplier reaches this value (or exceeds it), it is reset back to net:reconnect-interval-base.
- net:reconnect-interval-multiplier sets multiplier by which base interval is multiplied each time new attempt to perform an operation fails. When the interval reaches maximum, it is reset to base value.
The way this works is that if lftp cannot connect the first time (not at all uncommon with etree's busy servers), it will wait
net:reconnect-interval-base seconds before trying again. If it cannot connect then, it will multiply that value by
net:reconnect-interval-multiplier, wait that many seconds, and so on until it reaches
net:reconnect-interval-max. At this point, lftp starts over at
net:reconnect-interval-base.
bps