Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Push Notifications When There is new File and Share File in server

Push Notifications When There is new File and Share File in server

Scheduled Pinned Locked Moved ASP.NET
csharpsysadminquestiondiscussionlearning
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chester_it21
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • C chester_it21

      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.

      D Offline
      D Offline
      David Mujica
      wrote on last edited by
      #2

      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:

      C 1 Reply Last reply
      0
      • D David Mujica

        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:

        C Offline
        C Offline
        chester_it21
        wrote on last edited by
        #3

        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 ...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups