Professional Documents
Culture Documents
>Use the group switch to specify the user group. The standard edition has only one
group (FTP_DEFAULT_USER_GROUP). You may not specify this as its the
default value.
>Use the expdt switch to specify expire date for the user account. If you specify a
value the user will not be able to login to the system after the date specified.
Examples:
adduser john secrete - Will create a user with user-name as john and secrete as
password. The user home directory will be created with the same as user name.
adduser john secrete uhome johndocs expdt 2010-12-30 Will create the user
with user-name a john and secrete as password. The user home will be set to
johndocs and the user account will expire on 30 th December 2010.
1.2 Delete ftp user
Admin user can delete an existing ftp user by issuing deleteuser command. The
command by default will not delete the user-home. Use the uhome switch to delete
the user home. Once the user is deleted with uhome you will not be able to restore
the user home. Its always safe to delete user without specifying uhome switch.
Examples:
deleteuser john - Will delete the user with user-name john. The user home will
not be removed.
deleteuser john uhome johnhome will remove the user from the system and also
delete the user home.
1.3 Modify an existing user
Use the modifyuser command to modify an existing ftp user. The command has
several options. You can specify only one switch per command. This command will
can be used to change the password for the existing user including the admin.
Examples:
modifyuser john passwd newsecrete - change the password for the user john.
modifyuser john expdt 2011-12-30 - will change the user account expiry date for
the user.
1.4 How to get help
Type help to get the list of supported admin commands. Help command name will
print the usage text for the command.
You already have an application which is running on the default ftp server port.
You need to create a new instance of the BtFtpServer instance and point it to a port other
than the default port.
You are facing an issue with the BtFtpServer and the technical support team has asked
you to run the server in debug mode.
Your ftp server is running behind a firewall and need to specify a NAT address.
You can use any of your favorite xml editors to edit the server.xml file.
ftpHome:
The ftp server home. All the user directories will be created under here. Make
sure that the directory permission settings will allow the ftp server to
create and modify files. You may leave the default value as it is.
debug :
By default the debug will be off. To turn on the debug change the <override>
value for the node to true. You may leave the default value as it is.
controlPort:
The ftp server listen port. By default the server listens at the default ftp
port 21. You can change the default port by changing the <override> value to
the port number you like the server to be started.
dataPort:
The data connection port range. If you specify a range here the server will
always open a data connection from the specified port range. Note: This
property is not supported in standard edition now.
welcomeMessage:
The welcome message will be send to the user after the connection request. You
can configure the message to your company specific messages. You may send
terms and conditions for using the system here.
maxSessions:
The value will limit the maximum number of concurrent user sessions for the
server. Do not change this value if you are not sure of what you are doing.
natAddress:
The natAddress value for the server. You may need to configure this value if
your server is running behind a firewall. Click here to learn more about
natAddress (#TODO make the here link to
http://en.wikipedia.org/wiki/Network_address_translation).
maxLoginAttempts:
The number of login attempts the user can make before his account will get
locked. Not supported in standard edition.
allowPassive:
Setting the value to true will allow the user to transfer files in passive
mode. By default the value is set to true. Not supported in standard edition.
sessionTimeout:
The session timeout in minutes. Set the value to -1 for disabling the session
timeout.
maxPoolSize:
Ftp server is multithreaded and create one thread per request. You can
configure the server to limit the number of concurrent threads created.