USGCRP / gcis

Global Change Information System
https://data.globalchange.gov
Other
20 stars 16 forks source link

Support multiple formats of PDF file retrieval from external URL #692

Closed amruelama closed 1 year ago

amruelama commented 5 years ago

Currently our supported suffixes for external report file retrieval using URL are : image/jpeg, text/plain, image/png, image/jpeg, application/pdf, text/csv, image/gif.

Not sure if we need an extension to support remote file retrieval, but we have a number sites with PDF files with no .pdf extension.

Examples -

@lomky Could you look into this?

zacharylandes commented 1 year ago

@amruelama on dev can you try adding pdf without an extension like this https://irma.nps.gov/DataStore/DownloadFile/552557

to a figure or report?

thanks

amruelama commented 1 year ago

@zacharylandes It doesn't work. Report failed to be updated. image

zacharylandes commented 1 year ago

@amruelama can you try again, if it's still an issue please let me know the report and file your were testing thanks!

amruelama commented 1 year ago

@zacharylandes Works on dev. It does take more than a minute to process.