WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Email Notification Question
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1170954175

Message started by jdharm66 on Feb 8th, 2007 at 6:02pm

Title: Email Notification Question
Post by jdharm66 on 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.

Title: Re: Email Notification Question
Post by Gert on 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

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.