22 November 2005

No wget? Use curl!

Posted by Mikhail Esteves under: LAMP; Tips .

If your host only offers a jailshell and you don’t have access to wget, you can use curl to grab files. Here is how you grab a file:

$ curl -O http://www.thesite.com/file.ext

If you accidentally get disconnected, you can easily resume using

$ curl -C - -O http://www.thesite.com/file.ext

Or use the second command by default so you can simply pull it out from history after a disconnect…

I find this feature especially helpful where there are huge downloads and I don’t have the time to download them right now. My host has fast connectivity so I grab it into my hosting account, and download it later when I have the time!

Technorati Tags , , , , ,


Leave a Reply

Browse

Photography

Projects

Pages

Calendar

November 2005
M T W T F S S
« Oct   Dec »
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

www.flickr.com

Use OpenDNS