Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: get md5 sum of a remote file via net::ftp / net::sftp

by eXile (Priest)
on May 11, 2006 at 14:24 UTC ( #548720=note: print w/ replies, xml ) Need Help??


in reply to get md5 sum of a remote file via net::ftp / net::sftp

If the remote machine has the 'md5' command you could ssh into the machine and run the md5 command on the specified files. If not you could write your own md5-ing perl script (using examples above), and run that on the remote machine (if you can write files there).

I'd use Expect to script the ssh-ing and running 'md5'.


Comment on Re: get md5 sum of a remote file via net::ftp / net::sftp

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2014-07-24 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (156 votes), past polls