USGCRP/gcis

Support multiple formats of PDF file retrieval from external URL

Closed this issue · 4 comments

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?

@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

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

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

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