Using wget and HTTP authentication for supported downloads
From Zarafa wiki
(Difference between revisions)
(created) |
(→Supported downloads need authentication) |
||
| Line 4: | Line 4: | ||
Without authentication one will get the following error: | Without authentication one will get the following error: | ||
| - | $ wget https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt | + | $ wget <nowiki>https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt</nowiki> |
| - | --2011-03-09 18:02:36-- https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt | + | --2011-03-09 18:02:36-- <nowiki>https://download.zarafa.com/supported/final/6.40/changelog-6.40.txt</nowiki> |
Resolving download.zarafa.com... 80.69.93.40 | Resolving download.zarafa.com... 80.69.93.40 | ||
Connecting to download.zarafa.com|80.69.93.40|:443... connected. | Connecting to download.zarafa.com|80.69.93.40|:443... connected. | ||
Latest revision as of 17:04, 9 March 2011
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