Steps in calculating checksum cmd ftp

I have a question about checksum calculations.
What are the steps or procedure in calculating checksum cmd FTP so I can send information to the Juniper FTP Server and can the dir command parse the output? I'm on xp 64 bit sp1.
Can someone put me in the right direction?
Thanks.
