The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-20-2008
girish.batra girish.batra is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 74
Thank for your reply brother

I know that simple scp can do the trick also. But my requirement is to do through sftp.

Problem is not as simple as you think. Actually I have to make a script in which I have to transfer 24 files of approximately 4 to 5 mb each (text based). My shell script should check the number of bytes of each files at server one then after transfer of all these files to server two it should check that all files have been transfer and also have the same number of bytes as in server one.

kind regards