|
|
| more useful options | |
| PerlMonks |
Re: get md5 sum of a remote file via net::ftp / net::sftpby eXile (Priest) |
| on May 11, 2006 at 14:24 UTC ( #548720=note: print w/ replies, xml ) | Need Help?? |
|
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'.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||