# FTP Upload

## Contents
Overview Configuration

## Overview
You can use the Upload FTP filter to FTP the contents of the `content.body` message attribute to an FTP server. This filter is available from the Routing category of filters in the Policy Studio.
## Configuration
You must configure the following fields for the Upload FTP filter: Name: Enter a descriptive name for the filter. Username: Enter the username to connect to the FTP server. Password: Specify the password for this user. Host: Enter the name of the machine on which the FTP server is running. Passive: Select this option to circumvent problems caused by opening outgoing ports (relative to the FTP Server) in the firewall (for example, when using active FTP connections). Filename: The message body (the contents of the `content.body` message attribute) is stored using this filename on the FTP server. You can use the unique identifier that is associated with each message processed by the Enterprise Gateway by specifying the following value: `${id}.txt` The `id` message attribute contains the unique identifier for each message. When this value is specified, messages are stored in individual files on the FTP server according to their unique message identifiers. Directory: Specify the directory where this file is stored. File Type: Choose between ASCII mode for sending text-based data or Binary mode for sending binary data over the FTP connection.