0

We are trying to fetch the data using below URL:

http://www.accessdata.fda.gov/MAUDE/ftparea/DEVICEAdd.zip

but it continuously gives below error as:

Reusing existing connection to www.accessdata.fda.gov:80. HTTP request sent, awaiting response... 302 Moved Temporarily

Kindly help

Thanks, Shailendra Jetpuria

New contributor
user36180 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

1 Answer 1

0

The openFDA team does not manage that Web page; however, if you configure your code to include a User-Agent header with your requests, that will fix the issue:

bash-3.2$ wget -U "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" https://www.accessdata.fda.gov/MAUDE/ftparea/deviceadd.zip
--2024-05-15 12:39:30--  https://www.accessdata.fda.gov/MAUDE/ftparea/deviceadd.zip
Resolving www.accessdata.fda.gov (www.accessdata.fda.gov)... 23.208.60.116
Connecting to www.accessdata.fda.gov (www.accessdata.fda.gov)|23.208.60.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7053998 (6.7M) [application/x-zip-compressed]
Saving to: ‘deviceadd.zip’

deviceadd.zip                                   100%[=====================================================================================================>]   6.73M  26.0MB/s    in 0.3s    

2024-05-15 12:39:30 (26.0 MB/s) - ‘deviceadd.zip’ saved [7053998/7053998]

New contributor
Denis Krylov is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • Thank you Denis , it works
    – user36180
    May 16 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.