Can IIS track file changes?  
Author Message
xdude





PostPosted: Fri May 07 16:53:27 CDT 2004 Top

IIS >> Can IIS track file changes?

I am writing an application that responds when files (html, asp) are changed
on an IIS web site - for example if someone edits the file. Is there any way
to have IIS monitor the changes and create a notification?

--
Peter Aitken

Remove the ****from my email address before using.

Web Programming341  
 
 
Kristofer





PostPosted: Fri May 07 16:53:27 CDT 2004 Top

IIS >> Can IIS track file changes? IIS is a webserver, and this is not what a webserver does. You can use
FileSystemWatcher to write your own windows service to monitor changes. For
more information about this, see here:

http://www.hide-link.com/

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.hide-link.com/ - When you need help!




> I am writing an application that responds when files (html, asp) are
changed
> on an IIS web site - for example if someone edits the file. Is there any
way
> to have IIS monitor the changes and create a notification?
>
> --
> Peter Aitken
>
> Remove the ****from my email address before using.
>
>


 
 
Ken





PostPosted: Sat May 08 04:47:44 CDT 2004 Top

IIS >> Can IIS track file changes? IIS doesn't create notifications. However the files are managed by the
Windows file system, and Windows can generate File Change notifications
(this is the way that IIS knows when files are changed, and to purge any
cached copies of the file)

Cheers
Ken



: I am writing an application that responds when files (html, asp) are
changed
: on an IIS web site - for example if someone edits the file. Is there any
way
: to have IIS monitor the changes and create a notification?
:
: --
: Peter Aitken
:
: Remove the ****from my email address before using.
:
:


 
 
tdevere





PostPosted: Mon May 10 10:03:23 CDT 2004 Top

IIS >> Can IIS track file changes? Kristofer is right on the money here...

Think of IIS as a platform for you to develop applications on. In case of
needing to monitor the filesystem, you'd likely best be served by creating
a windows service to run in the background collecting data as you need.

Let us know if there's anything else we can help with on this issue.

Thank you,

Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support


"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.