Link to home
Start Free TrialLog in
Avatar of fuzzyifs
fuzzyifs

asked on

How can i upload one file in different servers ?

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 !!!
Avatar of atokata
atokata

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.
Avatar of fuzzyifs

ASKER

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 !!!
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial