[Webinar] Streamline your web hosting managementRegister Today


Upload file to another server, how?

Posted on 2005-04-03
Medium Priority
Last Modified: 2008-01-09

I have two servers, 1 to handle pageloading and another unmetered fileserver to handle file loading.
At server1 I have a form that let the user upload a file to the server. Is there a way to make this upload go to directly to server2 instead?
 - I chould upload it to server1 and ftp it to server2, but that will consume alot of bandwidth.
Question by:kgp43
  • 2

Author Comment

ID: 13691429
also, there must not be placed any php files on the fileserver.

Accepted Solution

BenMorel earned 375 total points
ID: 13691632
Hm I think the only solution in this case is to FTP it to the second server.
If they're directly connected, no problem. If you're paying for bandwidth between them, it's less cool, but it's a one-time upload, I think your big traffic will be when users will download the files !

If you need an example on how to upload it with php & ftp, please let us know


Author Comment

ID: 13692218
I just found out that I have Private VLAN between the servers, so I can just use FTP :)
Thanks for your help

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question