Checksum file

Posted on 2012-09-07
Medium Priority
Last Modified: 2012-09-10
Hi experts:

I transfer via ftp many files from HP-UX O.S. into directory of windows machine

From HP-UX I run cksum command and I used fciv utility from windows.

Now I need to check the same command fciv on HP-UX O.S.

I tried md5sum openssl csum commands but It doesn't run.

Have you idea for similar command on HP-UX B.11.00?

Question by:ralph_rea
LVL 31

Assisted Solution

serialband earned 664 total points
ID: 38377258
You'll have to install the md5 bundle.  A lot of proprietary Unix only have cksum by default.


Or you can install unix utils and run cksum in Windows

LVL 26

Accepted Solution

arober11 earned 668 total points
ID: 38377310
Alternatively use rsync to transfer the files, the tool utilises / incorporates MD5 logic to verify transmitted files, also allows transmissions to be resumed. Will save you a manual post transmission check.

You'll need a Windows rsync install or variant e.g. DeltaCopy, cwrsync, QtdSync.......
LVL 16

Assisted Solution

AlexPace earned 668 total points
ID: 38377452
Some FTP clients and servers support the itegrity checking which allow you to validate a transfer.  

The Robo-FTP client has an /integrity option that can use the following raw FTP checksum commands:
XCRC (64-bit hash)
XMD5 (128-bit)
XSHA1 (160-bit)

Of course, for it to work the FTP server has to also support the command but that is not so unusual these days.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question