title: Separate file server for a php website
body: <p>I have two servers for a website. One server will have php code and database and another less speed server to store files only. I need to implement these in a way that file uploaded through the website must store at another server and also then can be downloaded from there. </p>
  
  <p>Can anyone suggest me best way to achieve that. I know the files can be transferred to another server by FTP functions of php just after uploading through website but doesn't seems a correct way.</p>
  
  <p>Or two server can be used for static media content like images only.</p>
  
  <p>Thanks</p>