Getting date/time of HTTP file



 DEVELOP > c-Plus-Plus > Getting date/time of HTTP file

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "baker_tony"
Date: 18 Dec 2007 06:00:25 AM
Object: Getting date/time of HTTP file
Hi, is there any way of getting details (such as last modified/
created
date/time) of a file located on the web?
E.g I'd like to know when the file "http://www.myWebSite.com/
update.txt" was last created/modified.
I'm *guessing* I can use CHttpResponse to get some "Last-Modified"
value, but I've found it very difficult to get come clear cut code on
how to do so.
Many thanks for any help,
Tony.
.

User: "Tomás Ó hÉilidhe"

Title: Re: Getting date/time of HTTP file 05 Jan 2008 12:53:58 PM
baker_tony <baker_tony@hotmail.com> wrote in comp.lang.c++:

Hi, is there any way of getting details (such as last modified/
created
date/time) of a file located on the web?

E.g I'd like to know when the file "http://www.myWebSite.com/
update.txt" was last created/modified.

The C++ standard doesn't mention anything about networking, however there
are C++ communities built up dedicated to portable network programming.
To achieve portable network programming, they produce a "cross-platform
library" which people can use in developing a network application which
will run on the likes of Windows, Linux, Mac, Playstation 3.
There's currently no newsgroup in place for discussing cross-platform
programming in C++, which is why I've proposed the creation of
comp.lang.c++.cross-platform. Voting should start in the next day or two
(there's a load of red tape crap at the minute).
I'd appreciate if you'd vote.
--
Tomás Ó hÉilidhe
.

User: "Victor Bazarov"

Title: Re: Getting date/time of HTTP file 18 Dec 2007 08:23:29 AM
baker_tony wrote:

Hi, is there any way of getting details (such as last modified/
created
date/time) of a file located on the web?

E.g I'd like to know when the file "http://www.myWebSite.com/
update.txt" was last created/modified.


I'm *guessing* I can use CHttpResponse to get some "Last-Modified"
value, but I've found it very difficult to get come clear cut code on
how to do so.

There is nothing in C++ _language_ that would help you. You need
to ask in the newsgroup where 'www' is on topic. Try the newsgroup
hierarchy 'comp.infosystems.www'.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER