As was mentioned previously, you can just use the modified header to see
when the file was modified remotely, and then copy it locally if need be.  

If you run the other server, then there are better ways of syncing over
files... rsync, svn to name a few. 

Russ

> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 19, 2006 12:47 PM
> To: CF-Talk
> Subject: Compare the content two files.
> 
> I am trying to compare the content of a file I am reading from a remote
> server using <cfhttp> and the content of a file I read with <cffile> to
> see if they are the same or not.
> 
> The file that is being read was previously written from a <cfhttp> read.
> My goal is to see if the content from the remote file has changed since
> the last time it was copied to the local server, if so copy it to the
> local server.
> 
> I'm having surprising difficulties with that.  Even though I have just
> copied the remote file, a second test says the content of the two files
> are NOT the same?
> 
> Am I missing something here?
> 
> Is there another way I can do this?
> 
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to