Download works using curl from command-line