Jump to content
Sign in to follow this  
FlatLander

Verify file copy

Recommended Posts

FlatLander

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
Valuater

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
/dev/null

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
FlatLander

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  

×