LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-17-2008, 04:33 AM   #1
rabjac
LQ Newbie
 
Registered: Oct 2005
Posts: 18

Rep: Reputation: 0
Question Creating Checksums


We have a process whereby we FTP files from one server to another. As part of this process we generate checksums of each of the files before they are transferred. Once transferred, we check the contents of the checksums against the actual checksums of the files transferred to ensure a "nice complete transfer".

We are finding that the checksum creation/checking is taking quite a long time. Is there any way to speed up the process or is there an alternative method to achieve the same goal?

TIA.
 
Old 06-17-2008, 06:33 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Depends how you're creating the checksums. If you're on Solaris (as your choice of forum would suggest), then using 'sum' should be quicker than 'md5', for example.

You should maybe consider using scp/sftp instead of FTP - SSH2 checksums data as it's transferred, so you can do away with the separate checksum step completely.

Dave
 
Old 06-17-2008, 08:10 AM   #3
rabjac
LQ Newbie
 
Registered: Oct 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Yes it's md5 currently in use. I'll look at changing the scripts to use 'sum' in the short term to get us going just now. Longer term, I'll investigate the use of scp/sftp.

Many thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking checksums ddaas Linux - General 3 10-08-2005 03:07 AM
Killing the checksums antares Linux - Networking 1 08-21-2004 09:53 AM
Mandrake 10 checksums failure_man Mandriva 1 04-29-2004 12:03 AM
Alot Of Checksums Lagg Linux - General 2 09-10-2003 06:36 PM
checksums.md5 whitefox Slackware 2 04-18-2003 02:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration