ASP.NET and Office apps, track filesize changes

Discussion in 'ASP .Net' started by mikejacobz@gmail.com, May 29, 2006.

  1. Guest

    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
     
    , May 29, 2006
    #1
    1. Advertising

  2. Spam Catcher Guest

    wrote in news:1148858576.620552.66830@
    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.
     
    Spam Catcher, May 29, 2006
    #2
    1. Advertising

  3. Guest

    Hi, thanks for the suggestions :)
    Regards
    Mike
     
    , May 30, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stan Accrington
    Replies:
    1
    Views:
    962
    Michael Borgwardt
    May 13, 2004
  2. Replies:
    2
    Views:
    1,785
  3. Danny Chok
    Replies:
    3
    Views:
    226
    Tom Kaminski [MVP]
    Oct 8, 2003
  4. Replies:
    2
    Views:
    317
  5. Replies:
    1
    Views:
    138
Loading...

Share This Page