I am writing a simple GPL app-updater in C++ using QT 4. Basically, the program hits a web server, downloads a file called files.xml, and for any file entries in the .xml file, it hits the server and downloads those files locally. I have this much working, but I now want the app to only download files on the server with a newer modified date than on the local machine (assuming the file is already on the local machine). After looking through the docs, I see no clear way to accomplish this with the QHttp class. It looks like what I should be trying is to make my Get request conditional with the modify date of the local file, and check for a "304 Not Modified" response from the server. Like I said, I don't see any clear way to accomplish this. Anyone have any idea?
Bookmarks