WatchFTP home page
WatchFTP Startseite (Deutsche Version)
WatchFTP Página Principal (Español)
Site WatchFTP (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  News:
WatchFTP v4.5 released. see https://www.watchftp.com/download.html
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
Variable to email file name without the path (Read 2799 times)
Renee
YaBB Newbies
*
Offline


Posts: 5

Variable to email file name without the path
Oct 13th, 2023, 6:24pm
 
After a file is downloaded, I would like to send an email to the user, but I don't want to include the path, just the filename.  Is there a variable that will do this?  Thanks.
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 467
The Netherlands
Re: Variable to email file name without the path
Reply #1 - Oct 13th, 2023, 6:31pm
 
Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
Renee
YaBB Newbies
*
Offline


Posts: 5

Re: Variable to email file name without the path
Reply #2 - Oct 14th, 2023, 7:25pm
 
That works fine when I have it set to One email per download.  But I would prefer to have one email with all of the file names.  When I do that, the text %WF_FILE_N% is in the email instead of the file names.
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 467
The Netherlands
Re: Variable to email file name without the path
Reply #3 - Oct 15th, 2023, 8:55am
 
I think you will see this issue if you do not properly use a repeat-block in your message body. See https://www.watchftp.com/wfhelp/send_email_en.html

Also make sure to use %WF_FILE_N% in UPPERCASE.

If this does not help, please copy/paste the message body you use.
Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
Pages: 1
Send Topic Print