troubleshooting Question

downloading header information only

Avatar of Jimbo1954
Jimbo1954 asked on
3 Comments1 Solution265 ViewsLast Modified:
Hi Guys

Can somebody please give me the code needed to dowload the header information only from a website using winhttp.

The website is secure requiring username/password, I need to check if the file has been updated, so I need the the "Last-modified" information, then if it has been modified download the rest of the file, if it hasnt, disconnect.

The idea is to check the website at startup, if the file has been modified since the last download, download it and update a database, it it hasnt disconnect and carry on with the existing database. this is a csv file that is being imported into a database and is around 3 meg, so I dont want download the whole file if it is not modified.


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros