activation
Installation
PGP
Robo-FTP
Robo-FTP Server

Frequently Asked Questions

The FAQ list is a great starting point for basic questions about what you can do with Robo-FTP.

Orange_arrowOrange_arrow Browse the FAQ list now

Getting Started

Browse these tutorials and sample scripts to get up and running with Robo-FTP in minutes.

Orange_arrowOrange_arrow Browse tutorials and samples now

Contact Technical Support

If you can't find the answers you need online, get in touch with our Technical Support staff.

Orange_arrowOrange_arrow Contact Technical Support now

Professional Services

Need more than basic technical support? Our Professional Services team can help you deploy a complete solution.

Orange_arrowOrange_arrow Contact Professional Services now

Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).


Built-in variables used by Server Event Scripts (Robo-FTP Server 3.2.x and earlier)

This page only applies to Robo-FTP Server version 3.2.x and earlier. If you are using Robo-FTP Server 3.3 or later please refer to the Help file installed with your software for updated information about the built-in variables used by Server Event Scripts.

Robo-FTP Server is able to launch Server Event Scripts based on what is happening on the server. When Robo-FTP Server fires an event, it also populates some built-in variables with information relevant to that event which you can use in your script.

Server Event Scripts launch with the current user's home directory as the working directory.

Logon Event

%event_logonresult -- the result final FTP result code sent to the client indicating the success or failure of the logon

%event_logonname -- name of user that just logged on (or that tried to)

%event_logonhome -- full path for home directory of user that just logged on

%event_logondatetime -- date and time of the logon event (in the same format as the existing %datetime script variable)

Logoff Event

%event_logoffresult -- the result final FTP result code sent to the client indicating the success or failure of the logoff

%event_logoffname -- name of user that just logged off (or that tried to)

%event_logoffhome -- full path for home directory of user that just logged off (or that tried to)

%event_logoffdatetime -- date and time of the logoff event (in the same format as the existing %datetime script variable)

Upload Complete Event

%event_logonname -- name of user that just uploaded a file (or that tried to)

%event_logonhome -- full path for home directory of user that just uploaded a file

%event_uploadresult -- the result final FTP result code sent to the client indicating the success or failure of the upload

%event_uploadfile -- name of the file just uploaded (or that was attempted, if known)

%event_uploadfolder -- name of the folder where file was just uploaded

%event_uploadpath -- full path and file name for file that was just uploaded

%event_uploaddatetime -- date and time of the upload event (in the same format as the existing %datetime script variable)

Download Complete Event

%event_logonname -- name of user that just downloaded a file (or that tried to)

%event_logonhome -- full path for home directory of user that just downloaded a file

%event_downloadresult -- the result final FTP result code sent to the client indicating the success or failure of the download

%event_downloadfile -- name of the file just downloaded (or that was attempted, if known)

%event_downloadfolder -- name of the folder where file was just downloaded

%event_downloadpath -- full path and file name for file that was just downloaded

%event_downloaddatetime -- date and time of the download event (in the same format as the existing %datetime script variable)

Change Directory Event

%event_logonname -- name of user that just changed directory (or that tried to)

%event_logonhome -- full path for home directory of user that just changed directory

%event_chgdirresult -- the result final FTP result code sent to the client indicating the success or failure of the chgdir op

%event_fromchgdirname -- full path name of directory just exited

%event_tochgdirname -- full path name of directory just entered

%event_chgdirdatetime -- date and time of the chgdir event (in the same format as the existing %datetime script variable)

See also:

What sort of things are Server Event Scripts used for?

Problem: Robo-FTP Server stopped launching Server Event Scripts.

Article last updated: 2012-08-30

Tags: Robo-FTP Server, Server Event Scripts

Home | Solutions | Professional Services | Technical Support | Download | Company | Contact Us | Partners | Site Map | Terms of Service | Privacy Policy |