Solved

How can i upload one file in different servers ?

Posted on 2007-03-24
4
211 Views
Last Modified: 2013-11-26
Hi, I have a big problem, can you help me ???
I'm writing a website using DotnetNuke Framework, this website allows users to upload files and
 the problem is :
The uploaded files must not be uploaded on the  DotnetNuke  platform ( I mean those files do not store on the server where DotnetNuke  is hosted), but on a different server, linux server.
For example: I deployed that website in server A, when user upload a file, this file will be stored in a Linux server B. ....

How can i do it ???
Thanks a lot !!!
0
Comment
Question by:fuzzyifs
4 Comments
 
LVL 1

Expert Comment

by:atokata
ID: 18789556
If the two machines are on the same network, you can just mount the location you want the files to go to on the second server via NFS in the place where your framework wants them to go.  

If they're on totally different networks in different parts of the country, then you should probably make the action of your upload form point to a handler on your second server, the redirect back to the DNN server after the upload is complete.
0
 

Author Comment

by:fuzzyifs
ID: 18790153
Thanks atokata !!! But i'm not clear, can you explain more ??
"If the two machines are on the same network, you can just mount the location you want the files to go to on the second server via NFS in the place where your framework wants them to go" -> I really do not know about NFS !!!
 
"then you should probably make the action of your upload form point to a handler on your second server " -> It means i must implement another web server on the second server, does not it ???
Thanks in andvance !!!
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19252174
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

820 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