codexx Posted March 21, 2007 Share Posted March 21, 2007 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 More sharing options...
per1os Posted March 21, 2007 Share Posted March 21, 2007 you can do ftp http://us2.php.net/manual/en/ref.ftp.php Link to comment https://forums.phpfreaks.com/topic/43688-uploading-a-file-to-another-server/#findComment-212066 Share on other sites More sharing options...
mjlogan Posted March 21, 2007 Share Posted March 21, 2007 You don't mention what platform you are running, but xftp might be an option. http://www.net2ftp.com/homepage/features.html Link to comment https://forums.phpfreaks.com/topic/43688-uploading-a-file-to-another-server/#findComment-212083 Share on other sites More sharing options...
codexx Posted March 21, 2007 Author Share Posted March 21, 2007 I am running on Redhat 9. Cpanel Link to comment https://forums.phpfreaks.com/topic/43688-uploading-a-file-to-another-server/#findComment-212122 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.