Hi, I have a script that copies files from one server to another via the scp system call. On unix, I usually do a "sum" manually on files to make sure that the files got transferred properly.
I would like to automate this process in perl - transferring files over to another server and verifying that the checksum matches. $rc=system("scp filea serverb:/tmp"); If $rc==0, does that mean that filea is successfully copied over to serverb ie the checksum of both files matched? If not, how can I achieve that? Thanks in advance. susan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>