You can run lftp with timeout
https://www.gnu.org/software/coreutils/manual/html_node/timeout-invocation.html
and then use the -c option on the internal lftp command to continue where
it left off.

So, something like:

timeout 6h lftp -e 'get -c "https://example.com/my_file.txt";quit'


On Wed, May 4, 2016 at 10:27 AM, <pe...@secs.net.au> wrote:

>
> Hi all.
> LFTP is working well and I run it nightly in some cron jobs. However I
> would like the jobs to exit after say 6 hours and then when it fires up
> again the next night to pick up from where it left off. Is that possible?
>
>
> _______________________________________________
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to