Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily download web files in the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily download web files in the Terminal
Authored by: jcteo on Jun 01, '03 10:06:02AM

I used curl quite a bit and I'm the author of FileChute which uses curl behind the scene.

While this is a very neat trick, I'm wondering why people are using curl when they already have the link they can click on in the browser. Can someone enlighten me? I'm genuinely curious as to how folks are using curl.

-j



[ Reply to This | # ]
Why use curl?
Authored by: gatorparrots on Jun 01, '03 10:49:02AM

Ever seen a misconfigured web server serve up a .dmg file as a page full of gibberish text? If so, you can see the necessity of this hint.



[ Reply to This | # ]
Why use curl?
Authored by: jcteo on Jun 01, '03 12:33:56PM

Good point. But wouldn't right-clicking on the link and selecting "Download to disk" be easier?

Please don't get me wrong, I use curl a lot, just not in this context and I'm really interested in exploring more ways to utilize this awesome tool.



[ Reply to This | # ]
Easily download web files in the Terminal
Authored by: wzpgsr on Jun 01, '03 03:45:12PM

I sometimes browse the web at work, only to find a file I want to download to my home computer. I will copy the URL, ssh into my home computer, and use wget or curl to download the file.



[ Reply to This | # ]
Easily download web files in the Terminal
Authored by: fxt on Jun 01, '03 06:09:28PM

the place where i work has an institutional subsscription to various professional journals. in order to download the latest and greatest research papers, the domain name from where the request originates must match the domain name on the institutional subscription. if i'm working from home, the most efficient way i'm aware of to get the desired manuscript is to ssh into a work machine, curl the desired document, and scp it back home.

fxt



[ Reply to This | # ]
Easily download web files in the Terminal
Authored by: fxt on Jun 02, '03 12:34:12AM

sometimes something is embedded in a web page and not clickable. so i peek at the source, find the location of the file i desire (e.g. a flash animation), copy the location, and curl it.

fxt



[ Reply to This | # ]