Event handlers

Event handlers play a critical role in ensuring smooth, secure, and efficient operations, not only for file transfers but also for system monitoring and administrative tasks in SFTPPlus.

They allow SFTPPlus to respond to various events that occur during file transfers, system operations, or administrative tasks. These handlers can be configured to perform specific actions automatically when certain events occur, such as file uploads, downloads, or system changes.

Each handler can perform specific actions such as logging, sending notifications, executing external programs, or interacting with other systems.

Introduction

Learn how to create and configure an event handler using the Web Manager or the configuration file.

Introduction to event handlers
Local file

Discover how to configure an event handler that will store the event information as local text files.

Local file
File dispatcher

Learn how to automate file routing and processing using the file dispatcher handler.

File dispatcher
HTTP POST/Webhooks

Configure HTTP POST and webhook handlers to integrate with external HTTP systems and automate notifications.

HTTP POST / Webhooks
Email sender

Set up email messages, with optional attached files, for event alerts and automated messaging.

Email sender
Windows Event Log

Log SFTPPlus events directly to the Windows Event Log for centralized monitoring.

Windows EventLog
Standard output stream

Output event information to the standard output stream for integration with 3rd party tools like Docker or Kubernetes.

Standard output stream
Embedded database

Store and manage event data using the embedded database handler.

Embedded database
Syslog

Forward event logs to a Syslog server for centralized logging and analysis.

Syslog
Create archive/compress

Automatically compress files or create archives in response to events.

Create archive / compress
Extract archive/uncompress

Set up handlers to extract or uncompress files when specific events occur.

Extract archive / uncompress
Execute external script or program

Trigger custom scripts or external programs in response to SFTPPlus events.

Execute external script or program
Encrypt/decrypt with OpenPGP /GPG

Configure handlers to encrypt or decrypt files using OpenPGP/GPG as part of your workflows.

Encrypt / decrypt using OpenPGP / GPG
RabbitMQ publisher

Publish event messages to RabbitMQ queues for integration with messaging systems.

RabbitMQ publisher
File content checker and digest generator

Check file content and generate file checksums or digests.

Content check
Account interaction

Learn how to use the event handler in order to detect when one account operates on files that are accessible to another account.

Account interaction
Extension API

Extend SFTPPlus functionality by developing custom event handler extensions.

Extension API