Home Products Downloads Purchase Support Contact


Products
Downloads
Purchase
Support
Ocean FTP Server
Help, configuration and tips.

Messages
These settings control the welcome messages and other server responses given by the FTP server to clients. Any edited messages will be saved in the 'messages' folder (usually C:\Program Files\Code Ocean\Ocean FTP Server\messages) as a text file. These files can also be edited externally if required.

There are three main areas of messages that can be controlled. The first section is for Welcome messages (pre and post login). The second set of messages are used for responses to various commands used by the FTP Server. The third and final section is to define messages for a large variety of failure scenarios within the system.

  • Message - This is a description of which message you are editing in the 'Message Text' box.
  • Message Text - This is the text that will be sent with the appropriate reply code to the FTP client. You can use multi-line messages as well as a large variety of system defined tags as detailed below.
  • Wrap Lines Longer Than (Characters) - For display purposes, lines longer than this specified length will be 'wrapped' onto multiple lines, each with a maximum number of characters of this length.


Message Tags
The table below describes a range of tags that can be used to insert certain information into your message texts. Each tag should be used in the format ####TAG####.

Validity
Tag Name
Explanation
Always Available
SYST_CMDLIST
Server command list.
SYST_CMDLIST_SITE
Server SITE command list.
SYST_CURRENTTIME
Server current system time.
SYST_USERCOUNT
Total no. of users logged in.
SYST_USERCOUNT_MAX
Total no. of users logged in showing max (e.g. 1 of 5).
SYST_TIMEOUT
Idle connection time-out.
SYST_LINE_STAR
A full row of '*'s.
SYST_LINE_EQUALS
A full row of '='s.
SYST_LINE_DASH
A full row of '-'s.
SESS_SERVERIP
Server IP.
SESS_CLIENTIP
Connected client's IP.
Only Available After Login
ACCT_USERCOUNT
No. of users logged into current account.
ACCT_USERCOUNT_MAX
No. of users logged into current account showing max (e.g. 1 of 5).
ACCT_SPACELEFT
Account allocation space left ("unlimited" or KB value).
ACCT_DAILYUPLOADUSED
Current daily KB uploaded.
ACCT_MAXDAILYUPLOAD
Maximum daily KB that can be uploaded .
ACCT_DAILYDOWNLOADUSED
Current daily KB downloaded.
ACCT_MAXDAILYDOWNLOAD
Maximum daily KB that can be downloaded.
ACCT_CREDS
Current no. of credits.
ACCT_DOWNCRED
Credits per KB downloaded (e.g. 3 or -3).
ACCT_DOWNCRED_POS
Credits per KB downloaded (without negative).
ACCT_DOWNCRED_TYPE
"lose" or "gain" credits when downloading.
ACCT_UPCRED
Credits per KB uploaded (e.g. 3 or -3).
ACCT_UPCRED_POS
Credits per KB uploaded (without negative).
ACCT_UPCRED_TYPE
"lose" or "gain" credits when uploading.
 
Only Available When Relevant 
SESS_DIR
Current working directory for current session.
SESS_RNFR
Last 'Rename From' (RNFR) path used.
SESS_LASTPATH
Last path parameter used in any command.
SESS_USER
Last parameter used for USER command.

 


©2008 Code-Crafters Software Ltd. All Rights Reserved. Privacy Home Products Downloads Purchase Support Contact