Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   ASP.NET and Office apps, track filesize changes (http://www.velocityreviews.com/forums/t295555-asp-net-and-office-apps-track-filesize-changes.html)

mikejacobz@gmail.com 05-28-2006 11:22 PM

ASP.NET and Office apps, track filesize changes
 
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


Spam Catcher 05-29-2006 02:19 PM

Re: ASP.NET and Office apps, track filesize changes
 
mikejacobz@gmail.com 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.

mikejacobz@gmail.com 05-30-2006 04:38 AM

Re: ASP.NET and Office apps, track filesize changes
 
Hi, thanks for the suggestions :)
Regards
Mike



All times are GMT. The time now is 07:15 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57