Push Notifications When There is new File and Share File in server
-
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.
-
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.
Research this Windows function: FileSystemWatcher(), it can be used to monitor a directory for files that have been newly created. Also, depending on how big the files are you may be able to create a webservice on Server B which can be invoked by a Windows service on Server A. My idea is something like this: 1) Create a windows service on server A which uses FileSystemWatcher() to monitor a directory for newly uploaded files. 2) When a new file is detected, invoke a Webservice on Server B to send the data over. How about that? :cool:
-
Research this Windows function: FileSystemWatcher(), it can be used to monitor a directory for files that have been newly created. Also, depending on how big the files are you may be able to create a webservice on Server B which can be invoked by a Windows service on Server A. My idea is something like this: 1) Create a windows service on server A which uses FileSystemWatcher() to monitor a directory for newly uploaded files. 2) When a new file is detected, invoke a Webservice on Server B to send the data over. How about that? :cool:
thanks for replay David Mujica, thanks for the advice ... I'll try it, whether it can be safe in terms of its web security and server ... or maybe there are other ideas .. but I thank you for his time ...