KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Get notification on every new file

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Rosetta_itgroup



Joined: 09 Aug 2014
Posts: 13

PostPosted: Thu Sep 11, 2014 2:43 pm    Post subject: Get notification on every new file Reply with quote

Hello everyone,

I'm new here, i hope i'm publishing on the right category of the forum.
I need your help with something highly important for me.
Our incoming fax's scanned automatically to a network folder, i need somehow to get notified by email on every new file that has been added to the folder and if I can, also to have the ability to add the file's name to the email that will be great.

Can you help me out which test will help me with it and how to do it?
Back to top
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Thu Sep 11, 2014 3:20 pm    Post subject: Reply with quote

Probably File/Folder Availability test method will work the best
http://ks-soft.net/hostmon.eng/mframe.htm#tests.htm#fileexsts

Use %NewestFile% variable for the test, set "alert when file exists and newer than 5 min" option (5 min just for example, use 5 min test interval as well)

Then setup "Send e-mail" action using %FileName% variable
http://ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro

But there is a problem - if several files will be created within this interval (e.g. 5 min), HostMonitor will inform you about latest file only.
If you can move files after processing then there is solution, add 2nd action into profile "Execute external program" - start CMD or BAD file and move processed files.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Rosetta_itgroup



Joined: 09 Aug 2014
Posts: 13

PostPosted: Thu Sep 11, 2014 4:38 pm    Post subject: Reply with quote

Where should I put the %newestFile% variable?

i've added a screenshot: https://www.dropbox.com/s/zqv7ht9yziaaes1/2014-09-11%2018_33_35-Test%20properties.png?dl=0[/img]
Back to top
View user's profile Send private message Send e-mail
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Sep 11, 2014 4:43 pm    Post subject: Reply with quote

Use %NewestFile% instead of filename/filemask.
E.g.
D:\public\_Incoming_Faxes\%NewestFile%
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rosetta_itgroup



Joined: 09 Aug 2014
Posts: 13

PostPosted: Thu Sep 11, 2014 4:58 pm    Post subject: Reply with quote

Thank you it worked, I appreciate your help.
Back to top
View user's profile Send private message Send e-mail
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu Sep 11, 2014 4:59 pm    Post subject: Reply with quote

You are welcome.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index