Htaccess Auth for wget and curl

You can download files protected by Basic Htaccess Auth via wget like that:

$> wget --http-user=USERNAME --http-password=PASSWORD http://nice.file.url

Or via curl like that:

$> curl -u USER:PASSWORD http://www.caplantic.de

 

Leave a Reply

Your email address will not be published.

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.