title: Good practices for a robust FTP script
body: <p>What are the things a script should do to ensure that files have been FTPed correctly? Following are the things I have in mind:<br>
  1) use high level scripting language like python or perl instead of shell script for a more comprehensive functionality and error handling<br>
  2) check that the file exists at the destination after FTP<br>
  3) check destination file size. This is a little bit difficult because file size will change if the source and destination are running different OS. Any tips on how to go about this?<br></p>