On Fri, Sep 25, 2009 at 02:51:17PM +1200, Eric Terpening wrote:
> 2- make lftp timeout and disconnect after a period of time, e.g.
> download a file for 60 seconds and then stop?

at now+60seconds -- exit kill &

This will terminate lftp in 60 seconds. If you want to stop a transfer
and close connection without exiting, then this would do:

get file &
at now+60seconds -- "kill 0; close" &

-- 
   Alexander..

Reply via email to