How can we add FTP port number to welcome message?

thunn

Verified User
Joined
Mar 13, 2012
Messages
166
Dear Supporters,
1. I want to insert FTP Port number to welcome message, example currently:
Code:
FTP accounts:   4
Anonymous FTP:  OFF
FTP Server:     ftp.domain.com
Login:  domain
Password:       rSFA7TH2

I want:
Code:
FTP accounts:   4
Anonymous FTP:  OFF
FTP Server:     ftp.domain.com
[B]FTP Port: 220[/B]
Login:  domain
Password:       rSFA7TH2

2. Can I have the list of available variable which can be used in email welcome template?

Thank you very much.
 
First is easy; change the welcome email, and put the line in where you want it to appear. Easiest way to do it is to select Edit welcome email.

Second... well I believe it's been answered, but Googling doesn't work for me; hopefully John will reply with the list.

Jeff
 
Hello,

Note that for any template, there is a magic token called |DUMPTOKENS| which can be used to see all tokens when it's generated (for debugging)
http://www.directadmin.com/features.php?id=623

As for the welcome email, it's all of the contents of the user.conf file, plus
Code:
password
ns1
ns2
PORT
SERVERNAME
OWNED  (if the IP is owned)
If it's a reseller creation, the reseller.conf is added to the list first, then the user.conf (overwriting any duplciates), and then the same info above.

John
 
Back
Top