title: Upload Entire Directory via PHP FTP
body: <p>I'm trying to write a script that will upload the entire contents of a directory stored on my server to other servers via ftp.</p>
  
  <p>I've been reading through the <a href="http://php.net/ftp/" rel="noreferrer">documentation on www.php.net</a>, but can't seem to find a way to upload more then one file at a time.</p>
  
  <p>Is there a way to do this, or is there a script that will index that directory and create an array of files to upload?</p>
  
  <p>Thanks in advance for your help!</p>