You are here: FME Server Reference Manual > FME Server Services > Notification Service > Specifying the FTP Notification

Specifying the FTP Notification

Notification Content Keywords

The following reserved keywords can be used in the notification content to modify FTP subscription settings:

Note:  File paths must be specified using forward slashes (/) or escaped backslashes (\\).

Note:  If a notification message is sent from the FME Server REST API and it contains an unstructured text message, the value of the subscriber_content keyword contains the content of the text message.

Example

Below is an example of notification content for an FTP subscription:

{

ftp_host : "ftphost",

ftp_port : "21",

ftp_username : "ftpuser",

ftp_password : "ftppassword",

ftp_encryption : "Plain",

ftp_transfertype : "Auto",

ftp_destpath : "/dest/hello/world",

ftp_sourcepath : "D:/test.jpg",

ftp_zipsource : "Yes"

}

Upon receiving this notification, the FTP subscriber zips and uploads test.jpg to the destination path.

Safe Software Inc. www.safe.com