I need to download a file from a website which has a URL formatted like:
http://www.server.com/downloads/1234/
This redirects to a .zip file which has to be saved. There is also a need to authenticate based on username and password.
I tried to use wget, curl and lynx with no luck.
UPDATE:
wgetdoesnt work with redirection. It simply downloads the webpage instead of the zip file.curlgives the error "Maximum redirection exceeded > 50 "lynxalso gives the same error.
