FlatLander Posted January 25, 2007 Share Posted January 25, 2007 I have written a simple script that copies files from one server to another for backup purposes. I've been poking around the documentation for a while today and can't seem to determine: 1) If the FileCopy command automatically performs a copy verification 2) If not, is there some way to verify that the file copy completed correctly. Help!!!!! Link to comment Share on other sites More sharing options...
Valuater Posted January 25, 2007 Share Posted January 25, 2007 (edited) maybe... If FileExists( "filename") then MsgBox(0x0,"test", "the file exits ") Else.... 8) Edited January 25, 2007 by Valuater Link to comment Share on other sites More sharing options...
/dev/null Posted January 25, 2007 Share Posted January 25, 2007 I have written a simple script that copies files from one server to another for backup purposes. I've been poking around the documentation for a while today and can't seem to determine:1) If the FileCopy command automatically performs a copy verification2) If not, is there some way to verify that the file copy completed correctly.Help!!!!!1.) No.2.) Create a hash (md5,sha-1,crc-32) for both files and compare those. __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
FlatLander Posted January 26, 2007 Author Share Posted January 26, 2007 Don't know why I didn't think of that. Thanks for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now