ASP.NET and Office apps, track filesize changes

M

mikejacobz

Hi, I have an asp.net application (1.1) and when a user clicks on a
link it opens up a word document. A user can then make changes to the
doc and then close the document;

My app needs to track the size of the document when a user closes the
doc, if it has changed then we can assume that the doc has been
modified in some way.

I am probably right when I assume that there is no way my asp.net page
can be informed that the word doc is closing so what would be the best
way to tackle the above problem?

Thanks for any advice
Mike
 
G

Guest

(e-mail address removed) wrote in 38g2000cwa.googlegroups.com:
I am probably right when I assume that there is no way my asp.net page
can be informed that the word doc is closing so what would be the best
way to tackle the above problem?

You could load a service on your server - have the service monitor a
directory using a FileSystemWatcher.

Or you could schedule an hourly process to scan the directory to update
file sizes.

What you might want to include as well is a hash of each file - because
changes could be made to a file but the size might not change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top