Using wget and HTTP authentication for supported downloads

From Zarafa wiki

Jump to: navigation, search

Supported downloads need authentication

To download licensed, supported packages from download.zarafa.com one needs the portal user credentials to authenticate. This works quite okay in your browser, but when using wget, a few options need to be set.

Without authentication one will get the following error:

$ wget https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt
--2011-03-09 18:02:36--  https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt
Resolving download.zarafa.com... 80.69.93.40
Connecting to download.zarafa.com|80.69.93.40|:443... connected.
HTTP request sent, awaiting response... 401 Authorization Required
Authorisation failed.

wget command line options

By specifying the option --user and --ask-password wget will ask for the credentials. Below is an example. Change the username and download link to your needs.

wget --user=username --ask-password https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt
Personal tools