
|
|
These enumerators and constants are available in EFT Server 5.2 and later. |
The following enumerators and constants are available:
|
Server Events
OnTimer (0x1001) – Timer
OnServer_LogRotate (0x1002) – Log rotated
OnServer_ServiceStop (0x1003) – Service stopped
OnServer_Service_Start (0x1004) – Service started
Monitor_Folder (0x1005) – Folder monitoring
OnMonitor_Folder_Failed (0x1006) – Folder monitoring failed
Site Events
OnSiteStarted (0x2001) – Site started
OnSiteStopped (0x2002) – Site stopped
Connection Events
Connection_Connect (0x3001) – Client connected
Connection_ConnectFailed (0x3002) – Client connection failed
OnClientDisconnected (0x3003) – Client disconnected
Client Events
OnClientDisabled (0x4001) – Client disabled
OnClientQuotaExceeded (0x4002) – Client’s disk quota exceeded
OnClientLoggedOut (0x4003) – Client logged out
OnClientLoggedIn (0x4004) – Client logged in
OnClientLoginFailed (0x4005) – Client login failed
OnClientPasswordChanged (0x4006) – Client’s password is changed
OnClientCreated (0x4007) – New client created
File System Events
OnFileDeleted (0x5001) – File deleted
OnFileUpload (0x5002) – File uploaded
BeforeFileDownload (0x5003) – Before file download
OnFileDownload (0x5004) – File downloaded
OnFileRenamed (0x5005) – File renamed
OnFolderCreated (0x5006) – New folder created
OnFolderDeleted (0x5007) – Folder deleted
OnUploadFailed (0x5009) – File upload failed
OnDownloadFailed (0x500A) – File download failed
OnChangeFolder (0x500B) – Client changed their current folder
OnFileMoved (0x500C) – File moved
OnVerifiedUploadSuccess (0x500D) – Verified file upload succeeded
OnVerifiedUploadFailure (0x500E) – Verified file upload failed
OnVerifiedDownloadSuccess (0x500F) – Verifies file download succeeded
OnVerifiedDownloadFailure (0x5010) – Verified file download failed
ActionStatement (0) – Action statement
IfStatement (1) – Conditional statement
typedef enum {
CommandAction = 0x01, // Execute Command action
MailAction = 0x02, // Send E-mail action
UploadAction = 0x04, // Copy/Move File action
DownloadAction = 0x08, // Download File action
PGPAction = 0x20, // PGP action
StopAction = 0x40, // Stop action
CleanupAction = 0x80, // Cleanup action
ReportAction = 0x100, // Generate Report action
} EventActionType;
Equals (0x01) – Equals
Less (0x02) – Less
LessOrEquals (0x04) – Less or equal
Contains (0x08) – Contains
Match (0x10) – Match (for file name matching with template such as ‘*.exe’ etc)
MemberOf (0x20) – Member of
OneOf (0x40) – One of
StartsWith (0x80) – Starts with
LogicalOr (0) – OR
LogicalAnd (1) – AND
The Recurrence enumeration allows you to specify the frequency of an Event Rule trigger.
Custom (0) – Hourly
Daily (1) – Daily
Weekly (2) – Weekly
Monthly (3) – Monthly
Yearly (4) – Yearly
OneTime (5) – Trigger only once
The PGPOperation enumeration allows you specify the PGP operation to perform on a file.
typedef enum {
Encrypt = 0, // Encrypt file with PGP key
Decrypt = 4 // Decrypt PGP-encrypted file
} PGPOperation;
Refer to Determining Operation for PGP Event Action (Operation).