Saturday, December 21, 2013

Downloading File using curl

When you issue a "curl <url>" command, the output will be shown on stdout. This is great when trying to read a text response but most of the time, what you're doing is downloading a file.

The easiest way to do it is "curl -O <url>". This downloads the file with the same filename as the remote file.

No comments:

Post a Comment