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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.