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


Leave a Reply

Your email address will not be published. Required fields are marked *


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