Additionally, if you use a HTTP agent, then send a GET and look at the response from the server.
Your client should send an IF_MODIFIED_SINCE HTTP header, and if the file hasn't been changed, then the server should return a 304 NOT MODIFIED HTTP status, and then you don't download the file. Alternatively, if the server doesn't behave properly, you can look at the Modified and E-Tag headers Cheers Ken From: Benjamin Zachary - Lists [mailto:[email protected]] Sent: Tuesday, 9 February 2010 7:48 AM To: NT System Admin Issues Subject: RE: How to check when a file has changed from URL? A lot of ftp apps can do checksum and file size checks for you. I think smart FTP was one that you could schedule and if the file was changed do a set of tasks .. From: Jackson, Jeff [mailto:[email protected]] Sent: Monday, February 08, 2010 4:21 PM To: NT System Admin Issues Subject: RE: How to check when a file has changed from URL? You can use comp.exe to compare the two files, it's on winxp and later by default. From: Sam Cayze [mailto:[email protected]] Sent: Monday, February 08, 2010 10:49 AM To: NT System Admin Issues Subject: RE: How to check when a file has changed from URL? Wget and run a filediff check of some sort. From: Mark Smith [mailto:[email protected]] Sent: Monday, February 08, 2010 12:42 PM To: NT System Admin Issues Subject: How to check when a file has changed from URL? I have a url that when I launch it, I receive the File Download 'Do you want to open or save this file?' dialogue box. Currently I download this file manually. The file changes every few weeks or so, but I have no idea when. I simply download the file every so often and compare it to the last copy I downloaded. I would like to be able to have a process that checks this URL regularly and inform me when the file has changed from the copy I currently have. Any ideas on how to accomplish this? I've tried changedetect.com<http://changedetect.com> but was unsuccessful. Thanks! ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
