Link to home
Start Free TrialLog in
Avatar of vikraman_b
vikraman_b

asked on

How to apply cksum between Windows NT and UNIX files during PROD migration?

HI,

I am doing production deployment so i ftp files from Windows NT to unix environment .Assume there is no unix view.
Mainly i need to apply check sum during production migration like applying checksum to nt  and unix files to make sure  the size and i need to take screenshot also.
 if i am coping files from unix to unix i can use cksum.But if i ftp files from nt to unix i find differences in bytes.
Like i need to take checksum screenshot for NT as wellas Unix seperately.
Please help
Avatar of ahoffmann
ahoffmann
Flag of Germany image

> i find differences in bytes.
did you transfer in binary mode?
Avatar of vikraman_b
vikraman_b

ASKER

ascii mode

change to binary mode and it should be ok
Hi ahoffmann,
i need to transfer in ascii format only.
for example
i got a file in ClearCase stream NT view say some.sql,some.ini like that, i need to transfer this files from nt to unix envt
so normally use
telnet tounix server
ftp the files under ascii mode and i do the transfer.
u cannot use binary mode,binary can be used only for jar file,etc.,
so after transfer i need to check the size in the nt view as well as unix view.
so i need to apply cksum
if it is unix view i manually copy the file and take the cksum for source and destination directory if it going to be nt and unix ,how will compare and take the scree shot for logging purppose.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
HI ahoffman,
I am the same person posted in unix and unix securiy.