How to get a file's attributes via http?

A

assiwe

Hi,guys.
I want to download a file from http if the file's modify time is
larger than my local file's.Now i can get my local file's modify
time.But i couldn't find out how to get it from http before download
it. I'm not a English speaker so i dont kown how to search this
question in English Google.Please tell me how to solvt it or what key-
word I can search it in Google.

Is any kind one can help me?

PS: What is the 'Cc:' meaning in English?
 
A

Alf P. Steinbach

* assiwe, on 24.05.2010 08:36:
Hi,guys.
I want to download a file from http if the file's modify time is
larger than my local file's.Now i can get my local file's modify
time.But i couldn't find out how to get it from http before download
it. I'm not a English speaker so i dont kown how to search this
question in English Google.Please tell me how to solvt it or what key-
word I can search it in Google.

Is any kind one can help me?

Sorry, it has nothing to do with the C++ programming language because the C++
standard library doesn't address this issue.

If you have the 'wget' command line utility you might check out

wget http://www.gogle.com/robots.txt --server-response --spider

just to get an idea of what's possible.

But please read this group's FAQ about what's on-topic here.

PS: What is the 'Cc:' meaning in English?

"carbon copy".


Cheers & hth.,

- Alf
 
A

assiwe

Thank you all the same.

Is it possible with MFC?Because i write it with VC2010.

I have no idea about this group's FAQ.I visit this from Google's
groups and it seems no FAQ tip.What are they talking about?Some rules
i have to abide or some messages can help me?Could you give me the
URL?

Thank you again.
 
I

Ian Collins

Thank you all the same.

Is it possible with MFC?Because i write it with VC2010.

I have no idea about this group's FAQ.I visit this from Google's
groups and it seems no FAQ tip.What are they talking about?Some rules
i have to abide or some messages can help me?Could you give me the
URL?

See the regular "Welcome to comp.lang.c++! Read this first" messages.
 
D

Daniel Pitts

Hi,guys.
I want to download a file from http if the file's modify time is
larger than my local file's.Now i can get my local file's modify
time.But i couldn't find out how to get it from http before download
it. I'm not a English speaker so i dont kown how to search this
question in English Google.Please tell me how to solvt it or what key-
word I can search it in Google.
It's off topic, but here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

I searched for http caching.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top