CURL is a command line tool which can download files using a wide range of protocols: HTTP, HTTPS, FTP, FTPS, POP3, IMAP, RTMP, RTSP and many more. It's ideal for automating regular downloads in your own custom scripts.
CURL's basic operations are very simple. Just start by giving it the name of something to download.
curl http://www.example.com
curl ftp://www.test.com/folder/file.txt
By default whatever you're downloading is displayed on the screen, but you can redirect this to a file, or use the Output option to save it somewhere.
curl http://www.example.com/page.html > page.html
curl -o downloadcrew.html http://www.downloadcrew.com
This is just the start, though. Is your resource password=protected? Use this:
curl http://name:passwd@machine.domain/full/path/to/file
You can download several files at once.
curl -o http://www.test.com/file1.txt http://www.test.com/file2.txt
(As we're downloading specific files, the -o option will this time save them locally as their online names, file1.txt and file2.txt).
Maybe you only need part of a file? Here's how to get the first and last 256 bytes of a file.
curl -r 0-255 http://www.domain.com/bigfile.ext
curl -r -256 http://www.domain.com/bigfile.ext
CURL can be smarter that you might expect. You'll often want to download files only if they're newer than a local copy, for example, with a command line this.
curl -z local.html http://www.domain.com/remote.html
Remote.html will be compared to Local.html, and only downloaded if it's more recent.
There are many other options. CURL can upload files, post forms, resume file transfers, set upper or lower transfer speed limits, set a custom referrer or user agent, use cookie authentication and more.
And although it is a command line tool, cURL does a good job of keeping you in touch with whatever it's downloading. A progress bar displays the total download size, the bytes downloaded so far, the average transfer speed, time elapsed, expected completion time and more.
Verdict:
An amazing scripting tool, cURL has more download power in its tiny executable than you'll find in many commercial download managers. It's not difficult to use, either - master a few basic rules and you'll quickly feel at home.
Your Comments & Opinion
Download torrents with ease using this lightweight client
Lightweight BitTorrent client that focuses on speed and efficiency
Display Win8 "toast" notifications from your scripts
Speed up file transfers with this Mac download manger and file-sharing tool
Browse and download videos from YouTube, Google Video and Yahoo Video
Powerful cross-platform free FTP client, with support for WebDAV, Amazon S3 and much more
Powerful cross-platform free FTP client, with support for WebDAV, Amazon S3 and much more
A new browser for power users from the co-founder of Opera
A new browser for power users from the co-founder of Opera
A new browser for power users from the co-founder of Opera