Filewatcher - Odd Question

Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators

awolf
Posts: 4
Joined: Fri Jul 29, 2011 1:52 am

Filewatcher - Odd Question

Postby awolf » Sun Sep 11, 2011 1:04 am

With Filewatcher, using the wait feature.
If a file appears ie "examplefile06300909.log" and
Filewatcher is set to: Seconds to Wait after new file arrives = 5

1. What happens if the file gets deleted by another process before the 5 seconds is up?
2. What happens if another file by the same name arrives? (after the first is deleted, but before the 5 second wait is up)

I know you are asking yourself, "why would one do it like this?" but that's just the way it is....
Thanks!

Andrew

User avatar
DataMystic Support
Site Admin
Posts: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Filewatcher - Odd Question

Postby DataMystic Support » Mon Sep 12, 2011 8:28 am

Hi Andrew,

This is already handled - the deleted file gets removed from the pending changes list before the 5 seconds is up. You don't need 'Delete Notifications' checked for this to occur.

You will see 'Removing file: filename' in the log when this occurs.

The new file of the same name will then be processed normally.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

awolf
Posts: 4
Joined: Fri Jul 29, 2011 1:52 am

Re: Filewatcher - Odd Question

Postby awolf » Mon Sep 12, 2011 2:11 pm

Thanks Simon...your product is top-notch! I couldn't do what I do without it....
Andrew


Return to “FileWatcher, DirDate and other Support”

Who is online

Users browsing this forum: No registered users and 1 guest