?
Solved

Upload file to another server, how?

Posted on 2005-04-03
3
Medium Priority
?
242 Views
Last Modified: 2008-01-09
ex.:

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.
0
Comment
Question by:kgp43
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:kgp43
ID: 13691429
also, there must not be placed any php files on the fileserver.
0
 
LVL 7

Accepted Solution

by:
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

Regards,
Ben
0
 

Author Comment

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

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

762 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