To use curl to download the export file it needs three things: 1. A copy of the cookies that Yahoo uses. Best way is to install a fresh copy of Firefox Portable and add the Export Cookies add-on, then log into Yahoo. Then right click on the title bar, select Menu Bar then select Tools/Export Cookies from the menu bar and save as say cookies.txt 2. The url that downloads the export file. In Firefox it can be copied with a right click on the 'Export' link and selecting Copy Link Location 3. Installing curl and running it on the command line. Grab a copy from https://curl.haxx.se/, install, copy the cookies file into the same directory, open a command line and change to the the directory. Then run something like: curl "the-magic-url" --cookie cookies.txt --output yahooquotes.csv Hopefully that should do it! I guess Yahoo don't want to allow anonymous download as it makes it more open to abuse and denial of service attacks, even hacking.