title: Saving a file from one server to another
body: <p>I have a web form that I will be hosting on a centOS web server. The code that I have written, will take the data that has been entered, and save it to an excel spreadsheet to a specific location. i also have a file server, this is where I would like to have the file saved to. this is the first time that i have done a server to server file save/copy/transfer. on the web server, would i have to install an ftp client to accomplish this? When testing the program locally on my computer, this is how i currently have the destination path set up.</p>
  
  <pre><code>file_put_contents('C:\Users\username\Box Sync\Driver Check In\Shortage'.
       $month. '\Shortage'.date('m-d-y').".csv", $result, FILE_APPEND);
  </code></pre>
  
  <p>with the code being hosted on the web server, how can i change the destination path to point to my file server? </p>