|
-
Jan 18th, 2010, 10:49 AM
#11
Thread Starter
Addicted Member
Re: Compairing dates...might have stopped working.
 Originally Posted by nbrege
Do you need to use dates to compare files? I do something similar for copying files to a server, but I calculate a hash for each file. If the hash value for the source file is equal the the hash of the destination file, then the files are the same & I don't copy it. If they're different, then the files are different & I copy up to the server.
Now I was thinking about doing that. Good solid way of telling if the files are different. How-ever you dont know if one is older. You could accidentally copy an old file over a new file. With what I'm copying, this could happen, something would def have to be messed up on the local machine to do this, but i could. I might have to go that way if I cant figure out this issue.
There an easy way to get the hash using vb.net?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|