[ardoHTTP] need to get last modified date

Forge Component
(17)
Published on 2018-10-30 by Ricardo Silva
17 votes
Published on 2018-10-30 by Ricardo Silva

Looking online it looks like I can get the last modified date for a file (via URL) by doing a getheader('last-modified').  If I have the url for a file (somesite.com/file.pdf) how could I use this to get the last modified date?

You can use GetHeader with that specific header on the Response_Headers output from HTTPHead("somesite.com/file.pdf")


This oughta do the trick