The Abilis FTP server supports both active and passive mode and FTP over SSL operations.
Virtual directories are used to limit the access to the real file system.
File naming convention from the client's point of view is UNIX-like:
The path delimiter is "/";
File names start with "/" without volume
specification (such as A: in DOS-like notation).
Each user has configurable rights for each path.
Add the resource to the Abilis system with the following command:
[16:35:45] ABILIS_CPX:a res:ftp
RES:FTP ALREADY EXISTSThe FTP resource may already exist in the system, but may not yet be active: set it active with the command:
[16:35:50] ABILIS_CPX:s act res:ftp
COMMAND EXECUTED![]() | Caution |
|---|---|
After adding or setting the FTP active, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). |
[17:14:59] ABILIS_CPX:s p ftp act:yesCOMMAND EXECUTED [17:15:17] ABILIS_CPX:d p ftpRES:Ftp - Not Running, Not Saved (SAVE CONF) ---------------------------------- ------------------------------------------------------------------------ DESCR:File_Transfer_Protocol_Server LOG:NO ACT:YES max-cli:4 max-ssl-sess:0 tcp-locport-c:21 tcp-locport-d:20 TOS:0-N IPSRC:* IPSRCLIST:# DATA-TOUT:30 DT:300 REJ-1024:YES SAME-IP:YES SYSDRIVES:NO MAX-PWD-FAIL:4 DELAY-PWD-FAIL:5 MAX-IP-SES:NOMAX MAX-USER-SES:2 ANONYMOUS-USER:DENY REGISTERED-USER:PERMIT ANONYMOUS-HOMEDIR:
Use the below command to display the parameters of the resource; the d p ftp ? command shows the meaning of all parameters.
[12:18:35] ABILIS_CPX:d p ftp
Run DESCR:File_Transfer_Protocol_Server
LOG:NO ACT:YES max-cli:4 max-ssl-sess:0
tcp-locport-c:21 tcp-locport-d:20 TOS:0-N
IPSRC:* IPSRCLIST:#
DATA-TOUT:30 DT:300 REJ-1024:YES SAME-IP:YES SYSDRIVES:NO
MAX-PWD-FAIL:4 DELAY-PWD-FAIL:5
MAX-IP-SES:NOMAX MAX-USER-SES:2
ANONYMOUS-USER:DENY REGISTERED-USER:PERMIT
ANONYMOUS-HOMEDIR:Meaning of the most important parameters:
LOGLogging functionalities activation/deactivation.
ACTOperation activation [NO,
YES].
max-cliMaximum number of FTP client sessions [1..255]. It must be
grater or equal then 'max-ssl-sess'. (every
client needs 2 FTP connections).
max-ssl-sessMaximum number of sessions using SSL [0..255]. It must be
lower or equal then 'max-cli'.
tcp-locport-cLocal TCP port for incoming control connections [1..65535].
tcp-locport-dLocal TCP port for outgoing data connections [1..65535]
TOSTOS or DS field:
p-t: PRECEDENCE-TOS, 'p' [0..7], 't' [N, D, T, R, C];
bbbbbb: DS value bit by bit, 'b' [0, 1];
IPSRCClient IP address allowed to connect to FTP server [*, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
IPSRCLISTIncoming requests: list of further accepted source IP addresses [#, IP/IR/RU/MR listname].
DATA-TOUTData transmit/receive time-out [30..3600 sec.].
DTInactivity time-out [30..3600 sec.].
REJ-1024Refuse active data connections to client's ports lower then
1024 [NO, YES].
SAME-IPRestrict data connection to the same IP of the control
connection [NO, YES].
SYSDRIVESAllows creating a /sysdrives/ virtual directory with
<drive> subdirs [NO,
YES].
MAX-PWD-FAILMaximum number of password attempts [1-255].
DELAY-PWD-FAILDelay after failed PASS command [1-255 sec.].
MAX-IP-SESLimits number of simultaneous CONTROL connections that can be established from a client's IP address [NOMAX, 1..255].
MAX-USER-SESLimits number of simultaneous CONTROL connections that a user can establish from the SAME IP with the SAME USER login [NOMAX, 1..255].
ANONYMOUS-USERPermit/deny anonymous log-in [DENY,
PERMIT].
REGISTERED-USERPermit/deny log-in of registered users
[DENY, PERMIT].
ANONYMOUS-HOMEDIRAnonymous home directory, initiating and terminated by the '/' (slash). Max 128 characters. Spaces require double quotes (E.g. "/str1/str2 str3/").
The following command allows the administrator to change the configuration of the resource:
s p ftp parameter:value...
![]() | Caution |
|---|---|
To activate the changes made on the upper case parameters, execute the initialization command init res:ftp; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). |