Q : How to setup logon scripts for users?

A : First of all you need RaidenFTPD v2.2 build 556+

1. where to put the logon scripts ?

-for each user

Under the raidenftpd directory , you will find the following directory structure

.\VirtualFS\$ServerName\users

for the username 'john' , simply put a john.sh under the above directory , eg : .\VirtualFS\$ServerName\users\john.sh

-for each group

Under the raidenftpd directory , you will find the following directory structure

.\VirtualFS\$ServerName\groups

for the group name 'wheel' , simply put a wheel.sh under the above directory , eg : .\VirtualFS\$ServerName\groups\wheel.sh

2. What is the format of *.sh file ?

It is text file , each line in it contains a command to ask the RaidenFTPD to execute after the user logs in , the commands can be normal ftp commands or site commands . e.g:

CWD /My-home

site eggtalk I'm in

site stealth

WARNING : Do not use any command that requires multiple steps , such as PORT,PASV

WARNING : No output will be sent to client

3. FTP commands reference (note : commands in red color font are believed to be useless in logon scripts)

USER PASS CWD CDUP
REIN DELE XMKD MKD
RETR ABOR STOR STOU
APPE SIZE MDTM RMD
TYPE SYST QUIT REST
RNFR PORT NLST LIST
SITE RNTO NOOP PASV
CLNT STAT EPRT EPSV

4. FTP site commands reference

please read http://www.raidenftpd.com/en/raiden-ftpd-doc/help-sitecmd.html

That's ALL

 

Copyright © RaidenFTPD TEAM , ALL RIGHTS RESERVED

REVISION 2.2 , 2002/01/07