[ardoHTTP] need to get last modified date

Forge Component
(18)
Published on 20 Jan by Ricardo Silva
18 votes
Published on 20 Jan 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