No wget? Use curl!

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!

  • Share/Bookmark

Leave a comment

Your comment