Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7607013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:33:14+00:00 2026-05-31T00:33:14+00:00

I have a file which can be edited from several different places over an

  • 0

I have a file which can be edited from several different places over an intranet, but needs to be kept up to date on one specific machine.

The way things work is like this.

We have a local intranet where changes to the file are made and viewed on the intranet copy of the live website. If everything looks good, the file may then be uploaded to the remote server, overwriting the previous version.

It isn’t ideal, I know, but thats the way it has to be.

What I would like to do is keep track of any changes to that remote version of the file so I can then reflect that change on my local machine.

The idea I’ve had so far is to use the Task Scheduler on the remote server to send an email to me whenever a change takes place. Changes aren’t foreseen to happen often, but when they do, I need to know about it.

My problem is, I’m not sure what events to look for in Task Manager. As it stands, the file could be changed by someone FTPing into the server and changing it or by someone remoting in and uploading that way. As I said, not ideal, but its what I have to work with.

To keep things specific, I’m looking to use Task Scheduler here, working off a trigger. From there, I’m a little lost.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:33:15+00:00Added an answer on May 31, 2026 at 12:33 am

    As it turns out, I found a better/more useful/”good enough” solution, by creating a FileSystemWatcher and starting it when the application starts.
    Thats where the “good enough” comes in, since it won’t catch any changes if the application is stopped for some reason. However, since I’m the only one likely to stop the application, things will be a bit more serious than a broken FileSystemWatcher if it comes to that.

    Specifically, I created a class called “Utilities” and created the FileSystemWatcher in there.

    Then in the Global.asax.cs Application_Start() method, I initialised the FileSystemWatcher and set it going.

    If a change takes place, the event handler of the watcher is set to fire off an email to me, with the new file attached.

    Simples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JSON string (external file) which has an element which can either
I have a file which is combination of PHP and HTML. How can i
I have a file which may be in ASCII or UTF-8 format. I can
We have a part of our program which can save a diagnostic file for
can anyone help? I have a simple html file which i am filling via
Please can someone help? I have the following code which uploads a file to
I have written a python script which read from a txt file and perform
I have a series of XML files which can be retrieved, edited and saved
I have edited several files ISO-8859-15 encoded php source files with netbeans 6.7.1, but
I have an webapplication which refreshs a table each minute from a xml-file. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.