I am trying to download and unzip multiple files from a URL to then use in STATA.

I have requested data from the Institute of Health Metrics and Evaluation, for which they have provided a link to 331 zip files here:

http://ghdx.healthdata.org/gbd-resul...90fcefba756ce1

I copied the link for the first file which is this:

http://s3.healthdata.org/gbd-api-201...12208c13-1.zip

all the other files are then the same with the end being -1 to -331.

I was planning to use "copy" and then "unzipfile" and run a loop from 1 to 331. However I am getting the error message "invalid file specification" when try this for the first file following:

copy http://s3.healthdata.org/gbd-api-201...12208c13-1.zip

Does anyone know why this is the case?

Best Wishes

Joe