View Categories

Events and Messages: Proactive

5 min read

Have ProVide react to events before they happen! With this extension you can specify before-scripts that limits access based on date/time, downloaded files or even information stored in external databases as well as altering the target any operation is about to process. Together with Reactive you have a full-fledged Integration Server. Your imagination is the limit!

Of course these events can be overridden on a per user/group level with system wide defaults.

To read and learn more about Events and Messages click here.

Also check out our user user guide for more info.

Some “Before” events below have been extended with alter capability where the return code specifies how to proceed:

0: Proceed as normal

1: Prevent action, notifying user with custom return information

2: Proceed with action, but perform the action on the item returned by the script.

The following events are included: #

  • BeforeConnect -Before a user connect
    • OnConnect -When a user connects
    • OnQuit -When a user sends QUIT
    • OnDisconnect -When a user disconnects
  • BeforeLoggedln -Before a user is authenticated
    • OnLoggedIn -When a user successfully logs in
  • BeforeChangeDirectory -Before a user change directory
    • OnChangeDirectory -When a user change directory
  • BeforeCreateDirectory – before a directory is created
    • OnCreateDirectory -When a directory is created
  • BeforeRemoveDirectory -Before a directory is removed
    • OnRemoveDirectory -When a directory is removed
  • BeforeListDirectory -Before a file listing
    • OnListDirectoryStart -When a file listing starts
    • OnListDirectoryEnd -When a file listing ends
  • BeforeDownload -Before a download starts
    • OnDownloadStart -When a file download starts
    • OnDownloadEnd -When a file download ends
  • BeforeUpload -Before a upload start
    • OnUploadStart -When a file upload starts
    • OnUploadEnd -When a file upload ends
  • BeforeRemoveFile -Before a file is removed
    • OnRemoveFile -When a file is removed
  • BeforeRename -Before a file or folder is renamed
    • OnRename -When a file or directory is renamed
  • BeforeCopy -Before a file or folder is copied
    • OnCopy -When a file or folder is copied

The following tokens are included:  #

  • Date / Time:
    • %YYYY% -Current year
    • %MM% -Current month, 2 numbers (01-12)
    • %M% -Current month (1-12)
    • %DD% -Current day, 2 numbers (01-31)
    • %D% -Current day (1-31)
    • %hh% -Current hour, 2 numbers (00-23)
    • %h% -Current hour (0-23)
    • %mm% -Current minute, 2 numbers (00-59)
    • %m% -Current minute (0-59)
    • %ss% -Current second, 2 numbers (00-59)
    • %s% -Current second (0-59)
    Statistics:
    • %TOTAL_DOWNLOADED% -Total amount of data downloaded from the server
    • %TOTAL_UPLOADED% -Total amount of data uploaded to the server
    • %TOP_n_DOWNLOADERS% -Shows a list of the n top downloaders (n i explicitly defined, eg. %TOP_15_DOWNLOADERS% returns 15 largest downloaders)
    • %TOP_n_UPLOADERS% -Shows a list of the n top uploaders (n i explicitly defined, eg. %TOP_7_UPLOADERS% returns 7 largest uploaders)
    • %TOP_DOWNLOADER_n_USERNAME% -Shows the username of the n:th top downloader (n i explicitly defined, eg. %TOP_DOWNLOADER_8_USERNAME% returns the 8:th top downloader)
    • %TOP_DOWNLOADER_n_DOWNLOADED% -Shows the amount of data downloaded by the n:th top downloader (n i explicitly defined, eg. %TOP_DOWNLOADER_8_DOWNLOADED%)
    • %TOP_UPLOADER_n_USERNAME% -Shows the username of the n:th top uploader (n i explicitly defined, eg. %TOP_UPLOADER_14_USERNAME% returns the 14:th top uploader)
    • %TOP_UPLOADER_n_UPLOADED% -Shows the amount of data uploaded by the n:th top uploader (n i explicitly defined, eg. %TOP_UPLOADER_14_UPLOADED%)
    Server:
    • %CONNECTIONS% -Shows the current number of connections to the server
    • %USERS_LOGGED_ON% -Shows the current number of users logged on to the server
    • %SW_NAME% -Current server program name
    • %SW_VERSION% -Current server program version
    • %SW_BUILD% -Current server program build
    User:
    • %IP% -IP of the current user
    • %CONNECTION_TYPE% -What protocol incoming connections use, e.g. FTP
    • %USERNAME% -Username of the current connected user
    • %GROUPS% -Single-quoted, space separated list of groups for current user
    • %FTP_DIRECTORY% -FTP directory of current user
    • %LOCAL_DIRECTORIES% -Single-quoted, space separated list of local directories of current FTP directory
    • %FTP_FILENAME% -Last file accessed by user (FTP path)
    • %LOCAL_FILENAME% -Last file accessed by user (local path)
    • %TRANSFERRED% -Bytes transferred by user during last command
    • %FILESIZE% -Size of last file accessed by user
    • %LINK_TYPE% – Link type for current connection (”, ‘ltShare’, ‘ltReceive’, ‘ltCollaborate’)
    • %AD_DISPLAYNAME% -Display name from Active Directory for current user
    • %AD_HOMEDIR% -Homedirectory from Active Directory for current user
    • %AD_COMMENT% -Comment from Active Directory for current user
    • %AD_SCRIPT% -Logon script from Active Directory for current user 
    • %AD_PHONE% -Primary phone number from Active Directory for current user 
    • %AD_MAIL% -Primary email from Active Directory for current user 
    • %EXPIRE_TYPE% -Expiration type for current user (”, ‘etDate’, ‘etDownloads’, ‘etUploads’, ‘etLogins’, ‘etDays’, ‘etWeeks’, ‘etMonths’)
    • %EXPIRE_VALUE% -Expiration value for current user (”, <ISO date>, <value>)
    Scripting:
    • %EVENTNAME% -Name of the triggered event
    • %FORM% – Ampersand (“&”) separated percent (“URL”) encoded representation of form specified during upload (any ID of form is appended in token as %FORMID%)
    • %EXECUTE(cmd)% -Executes an external command and returns the result
proactive-settings-provide

To access the Events and Messages settings you need to login on the web based Admin interface with an account that has Admin privileges then in the top menu you click on Events and Messages.

Thank you for downloading ProVide Server

For the ultimate experience of ProVide’s features and functions,
we recommend choosing the MAXI License.

Follow the 3 easy steps below to install ProVide Server

Your Cart

Header test Qty Price
display quantity price
Product Name Qty Price

Thank you for showing interest in trying ProVide Server

Follow the 3 easy steps below to install ProVide Server

Subtotal: Total
Total (inc. VAT): Total
Tax: Total
You save: Total

Medi trial

Thank you for showing interest in trying ProVide Server

Follow the 3 easy steps below to install ProVide Server

Maxi trial

Thank you for showing interest in trying ProVide Server

Follow the 3 easy steps below to install ProVide Server

Free Trial

Get
ProVide Software