Jump to content

Uploading a file to Another server


codexx

Recommended Posts

Hello Everyone,

 

I currently have 1 server on a local network hosting a site but the net connection can no longer take keep up with the bandwidth. I was thinking of making a mirror of my site and push all of the large files to the second server thats at another company.

 

Therefore i'd have www1.mysite.com which has our databases etc and core files.

and www2.mysite.com would store all the images, videos etc.

 

The problem is that the uploads need to happen on my server because I have a bunch of patches on my PHP that the other hosts dont that my upload scripts require to show the amount of a file uploaded etc.

 

Is there a way to upload directly to another server? Or is it possible to upload to server 1, then automatically ftp it to server 2, then delete from server 1?

Link to comment
https://forums.phpfreaks.com/topic/43688-uploading-a-file-to-another-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.