I would like to download a file from the following link (direct download link) :
In browser when I hit the above url, it gives me the following error : "Credentials are required to access this resource."
To overcome this, first I access the base url (given below) in the browser and then from another tab hit the direct link. This allow me to download the file without credential required error. https://spaces.hightail.com/receive/SxnIY0QbDr <--- Base url
I would like to download the same file with curl using direct download link. However I get the same 'credential required' error.
- How can I download the file using curl from direct download link and avoid "credential required" error ?
- Why do I need to access the base url first before accessing the download link in the browser ?
May be base url share some authentication information with the browser and the same is used by browser later, but I don't have clear understanding.
Thanks !!!