954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Get last modified timestamp of remote file

Hi all, i was wondering if anybody could help me with this issue. I am trying to create an update tool within c++ which checks the download webpage file to see if it has been updated since the last recorded date. My problem is that i have no idea where to start with this (don't know how to get the timestamp of a file within c++ specifically of a remote file via http). Help anyone? Have no code yet.

seao111
Newbie Poster
5 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

Read this -> http://www.faqs.org/rfcs/rfc2616.html
Look for "Last-Modified"

Just because you ask for "foo.html" from some server, that does not mean there is a file called foo.html on the remote machine.

Many complex websites generate content on the fly from some database, so the concept of "age" might take on some rather esoteric meaning.

Salem
Posting Sage
Team Colleague
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You