Configure File System Connector > Set Up Event Handlers > Event Handlers

Event Handlers
You can configure the connector to call an internal event handler, or write your own event handler. Connectors include the following internal event handlers.
The TextFileHandler writes event data to a text file.
The HttpHandler sends event data to a URL.
The LuaHandler runs a Lua script. The event data is passed into the script.
IMPORTANT To use the Lua event handler, you must add an additional .dll into the connector’s installation folder. For more information, please contact Autonomy Technical Support.
The script must have the following form:
function handler(request, xml)
request is a table holding the request parameters.
xml is a string holding the response to the request.