WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
"Can not get the filesize of file..." (Read 5514 times)
reaston
YaBB Newbies
*
Offline



Posts: 3
"Can not get the filesize of file..."
Jul 29th, 2008 at 3:51pm
 
I have WatchDirecory (4.1) monitoring a folder for *.exe and *.dll.  It is set to email alert if any such file is changed, deleted or create.  If I create one to test I get no alert but the above message in the History log. 

Any advice welcome.

Thanks

Richard
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: "Can not get the filesize of file..."
Reply #1 - Jul 30th, 2008 at 10:01am
 
Hello Richard,

This is caused by the "Wait for files..." setting on the "Other" window of this task. WD is trying to see if the file is "complete", but I guess Windows (or a virus scanner) blocks WD from opening the .exe/.dll.

Please set the above option to "do not wait..." and try again.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
reaston
YaBB Newbies
*
Offline



Posts: 3
Re: "Can not get the filesize of file..."
Reply #2 - Jul 30th, 2008 at 11:41am
 
Thanks Gert.  I actually already have the "Do not wait for files to be available" selected as an "Other" property.  Any other suggestion welcome, ta. Richard
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: "Can not get the filesize of file..."
Reply #3 - Jul 30th, 2008 at 12:24pm
 
mmm, i will look into this.
what plugin (task) are you using?
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
reaston
YaBB Newbies
*
Offline



Posts: 3
Re: "Can not get the filesize of file..."
Reply #4 - Jul 30th, 2008 at 12:40pm
 
"Audit Windows Directory - Who did it?"

Richard
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: "Can not get the filesize of file..."
Reply #5 - Jul 31st, 2008 at 9:09am
 
OK, I just checked the code and see it does check the filesize there.

The Audit plugin allows you to configure the message using the same variables as the batch file task (see http://watchdirftp.blogspot.com/2008/05/undocumented-auditing-with.html for more on this). It needs to get the size for the WD_FILE_SIZE and WD_FILE_SIZE_KB variables. I will change the logic a little bit in the next release so it will only get the filesize if it is actually needed.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1