Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General Discussion » View Thread |
Messages 1 to 3 of 3 total |
OT: File compare |
Tue, Nov 20 2007 2:01 PM | Permanent Link |
"Malcolm" | You guys are sooo good
I hope I am allowed to ask for a few pointers on the following. One of my apps submits database records over the Internet in simple csv format to a gateway. The gateway holds the file and informs the intended reipient that it is available for download and import into another of my apps. It is valid for a sender to submit more than once - in which case the gateway app adds a serial number to the filename. But, some users are re-sending identical files and I could do with eliminating those at the gateway. Any difference is good enough cause to accept the subsequent file. So is there: * a simple file compare or diff component available (D10) * a better way such as including a check sum or do I just roll my own byte/string compare? The csv files are not large, just a few K each. Malcolm -- |
Tue, Nov 20 2007 4:30 PM | Permanent Link |
"Uffe Kousgaard" | "Malcolm" <malcolm@spam.will.bounce> wrote in message
news:CDBBE0B9-0506-4897-8196-F975C1D88031@news.elevatesoft.com... > or do I just roll my own byte/string compare? Simple byte compare and exit as soon as a difference is found. I assume you are only comparing with the latest uploaded file. If you want to compare with all previous versions a checksum may improve it slightly. |
Tue, Nov 20 2007 5:11 PM | Permanent Link |
"Malcolm" | Uffe Kousgaard wrote:
> > I assume you are only comparing with the latest uploaded file. If you > want to compare with all previous versions a checksum may improve it > slightly. Thanks.. Yes, there should never be more than three or four and I believe I need only compare with the immediately preceeding one. -- |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |