Solved

How can i upload one file in different servers ?

Posted on 2007-03-24
4
198 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Setting ACL permissions after creating user with DC replication lag possible? 5 41
DataGridView Events ? 3 37
Syntax error 9 45
Handling Headless Computers with RAID 11 60
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now