Sign in to follow this  
Followers 0
FlatLander

Verify file copy

4 posts in this topic

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!!!!!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

maybe...

If FileExists( "filename") then MsgBox(0x0,"test", "the file exits ")

Else....

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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!!!!!

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 *

Share this post


Link to post
Share on other sites

Don't know why I didn't think of that. Thanks for your help!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0