Click here to Skip to main content
13,052,956 members (63,665 online)
Rate this:
Please Sign up or sign in to vote.
dear all,

I have a case, like this:
I have 2 servers, the server A and server B,
A server in my store the result data file upload from application A,
How do it so I can download it from the server B / Applications B.

without using FTP or shared folders term,

and how can I find out if the way there is a new file on the Server A is the result of the application upload A.
course using Microsoft Dotnet technology.

thanks so much for his attention,
any form of advice, referral and opinions greatly appreciated.
greetings advance.
Posted 27-Jun-13 1:42am
Mahesh Bailwal 27-Jun-13 8:20am
If you don't want to use FTP or shared folder, then in that case you may create some web page or web service in Application A which will return uploaded data to Application B.
chester_it21 27-Jun-13 9:39am
somewhat more specific I can grasp it with detail and clear ...
trims a lot...
Mahesh Bailwal 27-Jun-13 9:53am
I can not give you whole design as I don't have. But you can ask me question about your doubts.
Ankit Kul 27-Jun-13 10:26am
I dont know much about it ,but try to find out something about creating trust between two remote servers. Unfortunately I did this but with the help of ftp and a windows service ,which you will not prefer.
chester_it21 30-Jun-13 7:53am
I do not want her not to use FTP or Share folder,
but it should not need to use it ....
I'm designing a system to suit the needs of the client, and I was in demand to not use it ..
thank you for his time ..

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Build a sync service for your two servers based on SignalR. (Assuming you are running on top of IIS) Each server should expose a sync endpoint which the other server can register with. (And make sure the endpoints will only accept connections from your other server(s) for security purposes) When a file is uploaded to one server, the other one is notified of that via SignalR. That server can then request the file from its twin. Of course, don't send out the notification back to the first server of the new file on the second one or you will put the servers in a loop.

You can Google SignalR or find articles here on CP on how to use it in ASP.NET running on IIS. It provides a callback system via web sockets for just this type of scenario.
chester_it21 30-Jun-13 7:58am
thank Jason Gleim,
I also had to think of her to use SignalR ...
but so far, that I know about SigNalR from their first release, only for notification only .. yangg want me to do is to find a method of its share files without FTP and shared folders it ..
but will I see again SignalR progress ...
thank you for his time and participation ..
trims a lot..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 27 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100