[ardoHTTP] need to get last modified date

[ardoHTTP] need to get last modified date

  
Forge Component
(15)
Published on 2015-06-04 by Ricardo Silva
15 votes
Published on 2015-06-04 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