On Mon, Jan 20, 2003 at 11:59:43PM +0000, [EMAIL PROTECTED] wrote:
>       Is there a way, and I've been looking through the docs for the 
>       better part of half an hour, to queue a command without it starting that  
> first command/job immediately?

`queue' without arguments creates a stopped queue. `queue start' starts it.
There is also `queue stop', but it won't stop an already running job.

> open <site>

add `queue' here.

> cd dir1
> queue glob get -c *
> cd ..
> cd dir2
> queue glob get -c *
> queue start   // now the downloads start.
> 
> I am not able to have concurrent connections to many sites and thus 
> executing a job immediately is not useful for me.

See also setings net:connection-limit, net:limit-total-rate.

If you do `set net:connection-limit 1', then lftp will interrupt background
download to execute foreground interactive commands.

-- 
   Alexander.                      | http://www.yars.free.net/~lav/  

Reply via email to