RE: Compare the content two files.

2006-10-19 Thread Russ
age- > 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 and the content of a file I read with

RE: Compare the content two files.

2006-10-19 Thread Dan G. Switzer, II
Ian, >I was able to get the content comparison I needed. I think I was having >some character encoding trouble, so I made sure I spelled out the encoding >at every point I could. Then to make sure I wasn't have white space >trouble I xmlParsed() the files, they being xml files, then toString() t

RE: Compare the content two files.

2006-10-19 Thread Andy Matthews
I just read that Doug Hughes has a cfdiff function. Might this do what you need? -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 12:17 PM To: CF-Talk Subject: RE: Compare the content two files. Um, no. Sorry. We do something similar

RE: Compare the content two files.

2006-10-19 Thread Ian Skinner
I was able to get the content comparison I needed. I think I was having some character encoding trouble, so I made sure I spelled out the encoding at every point I could. Then to make sure I wasn't have white space trouble I xmlParsed() the files, they being xml files, then toString() the xml

RE: Compare the content two files.

2006-10-19 Thread Ray Champagne
ou want, I guess. Not sure how to help you with your original solution, though. I assume you've checked cflib.org? > -Original Message- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 19, 2006 1:01 PM > To: CF-Talk > Subject: RE: Compare the con

Re: Compare the content two files.

2006-10-19 Thread Rob Wilkerson
When you retrieve it, store the value of the last-modified header. When you retrieve it the next time, pass the if-modified-since request header. That's what I do with a feed aggregator I wrote and it works great. You could also look at the ETag value. Rob Wilkerson On 10/19/06, Ian Skinner <[

RE: Compare the content two files.

2006-10-19 Thread Ian Skinner
You can't compare the last modified dates and do your processing from there? Would the last modified date be the same when the file is copied from the remote server to the local one? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | -

RE: Compare the content two files.

2006-10-19 Thread Ray Champagne
You can't compare the last modified dates and do your processing from there? > -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 t

Compare the content two files.

2006-10-19 Thread Ian Skinner
I am trying to compare the content of a file I am reading from a remote server using and the content of a file I read with to see if they are the same or not. The file that is being read was previously written from a read. My goal is to see if the content from the remote file has changed si