title: Upload clocking script
body: <p>How can I make a script that, once a day, will upload a file via ftp to several different servers, then take note (in a log) of how much time the uploads took?</p>
  
  <p>Thanks to Rajax I have the cronjob set up to execute this so far as the script, let's say it's called ftpScript.sh:</p>
  
  <pre><code>#!/bin/sh
  
  HOST='ftp.users.qwest.net'
  USER='MYUSERNAME'
  PASSWD='MYPASSWORD'
  FILE='filename.gif'
  
  ftp -n $HOST &lt;&lt;END_SCRIPT
  quote USER $USER
  quote PASS $PASSWD
  put $FILE
  
  quit
  END_SCRIPT
  exit 0
  </code></pre>
  
  <p>Where do I put this part?</p>
  
  <pre><code>time -a output.log ftpScript.sh
  </code></pre>