[Ilugc] lftp tip

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Mon, 14 Nov 2011 12:21:32 +0530

Dear all,

I am attempting this tip business again. I cannot promise anything
about regularity and stuff.

There are many problems now. I don't have a sustenance situation that
is normal and nominal.
I don't have ....

Anyway now I will send whatever tip I feel like and whenever I can.
Without repeating this more than
 once a day.

Now goes:

$ lftp ftp://ftp.kernel.org/

mirror linux-2.6.32/

It is just an example. lftp can be used to copy an entire directory to local.

And it can talk ftp, http, https, ftps, sftp and so on.

lftp can also be scripted and you can queue downloads(background).

For instance this script does that:

$ cat lftp.txt
open ftp.foo.org
queue get file.iso
quit

You run it like this:

$ lftp -f lftp.txt

This way you can download without waiting for it to complete.

-Girish




-- 
G3 Tech
Networking appliance company
web: http://g3tech.in ?mail: girish at g3tech.in

Other related posts:

  • » [Ilugc] lftp tip - Girish Venkatachalam