[ardoHTTP] need to get last modified date

[ardoHTTP] need to get last modified date

  
Forge Component
(16)
Published on 30 Oct (2 weeks ago) by Ricardo Silva
16 votes
Published on 30 Oct (2 weeks ago) 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