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
Email Notification Question (Read 2307 times)
jdharm66
YaBB Newbies
*
Offline



Posts: 1
Email Notification Question
Feb 8th, 2007 at 6:02pm
 
Is there a way to include only the directory name using variables and not the full path when creating an email notification.  I have it monitoring an ftp site and it would be helpful to know to which folder a file has been uploaded without having to include the full local path as it would only confuse the recipient.

Any help would be appreciated.  Thanks.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Email Notification Question
Reply #1 - Feb 8th, 2007 at 6:55pm
 
Hello,

Yes, you can also use all the variables that are available for the batch file plugin ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html ). So, to only display the directory name, you can use %WD_FILE_D% inside the email body.

Hope that helps,
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