Administrator
- Administrator
- All Products
Field
| Type
| Description
|
---|---|---|
id
| String
| ID number associated with the file listener.
|
name
| String
| Name of the file listener.
|
description
| String
| Description of the file listener.
|
status
| String
| Status of the file listener.
disabled . Does not listen to files on the designated folder.
|
agentGroup
| Numeric
| Runtime environment that contains the Secure Agent used to run the file listener.
|
type
| String
| Type of the connection to which the file listener listens.
|
connection
| String
| Connection to which the file listener listens.
|
folderPath
| String
| Path to the folder on the connection to which the file listener listens.
|
filePattern
| String
| File name pattern to which the file listener listens.
|
Post Action
| String
| Determines the action the file listener must perform after the file listener listens to the events.
You can select the post action as
Delete only if the file pattern is an indicator file. Default is None.
The following connection types support the Post Action option:
|
patternType
| String
| The file pattern.
|
mandatory
| String
| Defines whether rule values are mandatory.
|
recursive
| String
| Defines whether rule values are recursive.
|
type
| String
| Frequency at which the file listener runs, daily, weekly, or monthly.
|
timezone
| String
| Time zone that refers to the start and end time.
|
startDate
| Date/Time
| Date on which the file listener starts running.
|
endDate
| Date/Time
| Date until which the file listener runs.
|
runIndefinitely
| String
| Whether the file listener runs without an end date.
|
startsAt
| Date/Time
| Time of day when the file listener starts running.
|
endsAt
| Date/Time
| Time of day when the file listener stops running.
|
frequency
| Numeric
| Frequency at which the file listener checks for files in the folder.
|
frequencyUnit
| String
| Unit of frequency to which file listener checks for files in the folder, by seconds, minutes, or hours.
|
listenerEvents
| String
| Determines when the file listener sends notifications to the services that are registered to it. Response to each event when the event is set to true is as follows:
|
stopWhenRulesMet
| String
| Whether the file listener stops listening to the folder when the listener rules are met. Set to one of the following values:
|
checkFileStability
| String
| Enter one of the following values.
Default is
true .
|
stabilityCheckInterval
| Time
| Time in seconds that a file listener waits to check for file stability.
You can specify a value in the stabilityCheckInterval field only if the checkFileStability option is set to
true .
|
notifyExistingFiles
| String
| The first time the file listener runs, it sends a notification if files exist in the folder to which it listens, of the parameter is set to true.
|
excludeFileEventsWhenNotRunning
| String
| Determines if you want to exclude file events that occur when a file listener is not running.
|
continueOnError
| String
| Determines if you want the file listener to continue to retry and run in case of failures, such as temporary network disruption.
|
location
| String
| Location of the project folder that contains the file listener component.
|
createTime
| Date/Time
| Time when the component was created.
|
lastupdateTime
| Date/Time
| Time when the component was last updated.
|
{ "id": "eX5qlosUfEHbwvNwGpRwQd", "name": "FL512087", "description": "Demo", "status": "ENABLE", "agentGroup": "01000025000000000002", "connection": { "type": "local", "name": "", "connId": "" }, "rules": [ { "id": 10052, "folderPath": "C:\\temp1", "filePattern": "*.txt", "postAction": "NONE", "patternType": "wildcard", "mandatory": false, "recursive": false } ], "scheduleDefinition": { "type": "DAILY_WITH_INTERVAL", "timezone": "IST", "startDate": "20181227", "endDate": "20181227", "runIndefinitely": false, "startsAt": "1015", "endsAt": "2355", "frequency": 15, "frequencyUnit": "SECONDS" }, "stopWhenRulesMet": false, "listenerEvents": { "arrive": true, "update": true, "delete": true }, "checkFileStability": true, "stabilityCheckInterval": 10, "notifyExistingFiles": false, "excludeFileEventsWhenNotRunning": true, "continueOnError": true, "location": { "folderId": "avVCKODMM0RdSmcNWDnrKi", "folderName": "New", "projectId": "3iWWHkLbM2giVppBmJmZgV", "projectName": "Default" }, "createTime": "2019-02-12T07:03:49Z", "lastUpdatedTime": "2019-02-12T07:03:49Z" }
{ "listeners": [ { "id": "8h9hng2kRokf2Db6Xb4pA8", "name": "dfgdfg", "description": "", "status": "ENABLE", "stopWhenRulesMet": false, "checkFileStability": false, "notifyExistingFiles": false, "excludeFileEventsWhenNotRunning": true, "continueOnError": true, "location": { "projectId": "3iWWHkLbM2giVppBmJmZgV", "projectName": "Default" }, "createTime": "2019-01-28T05:31:00Z", "lastUpdatedTime": "2019-01-28T05:31:00Z" }, { "id": "bQdKQmGlFUUgS85AevLkqi", "name": "FL123", "description": "xsdfsdfsdf", "status": "ENABLE", "stopWhenRulesMet": false, "checkFileStability": true, "stabilityCheckInterval": 10, "notifyExistingFiles": false, "excludeFileEventsWhenNotRunning": true, "continueOnError": true, "location": { "projectId": "3iWWHkLbM2giVppBmJmZgV", "projectName": "Default" }, "createTime": "2019-01-24T05:20:26Z", "lastUpdatedTime": "2019-01-25T06:52:40Z" }, { "id": "eX5qlosUfEHbwvNwGpRwQd", "name": "FL512087", "description": "Demo", "status": "ENABLE", "stopWhenRulesMet": false, "checkFileStability": true, "stabilityCheckInterval": 10, "notifyExistingFiles": false, "excludeFileEventsWhenNotRunning": true, "continueOnError": true, "location": { "folderId": "avVCKODMM0RdSmcNWDnrKi", "folderName": "New", "projectId": "3iWWHkLbM2giVppBmJmZgV", "projectName": "Default" }, "createTime": "2019-02-12T07:03:49Z", "lastUpdatedTime": "2019-02-12T07:03:49Z" } ] }
File Listener not found (403 Forbidden) { "responseCode": "NOT_FOUND", "message": "File Listener with id 'eX5qlosUfEHbwvNwGpRwQd1' not found." }