--- title: "Upload Content To FTP" slug: "upload-content-to-ftp" updated: 2025-06-06T10:48:44Z published: 2025-06-06T10:48:44Z canonical: "help.mail-and-deploy.com/upload-content-to-ftp" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Upload Content To FTP ### General This type of action can be used to upload content (such as external files or report documents) to an FTP server. ### Properties This type of action has the following properties: | Name | Description | | --- | --- | | Content Type | The type of content you want to upload (see below). | | Host | The host name or IP address of the FTP server to which you want to upload. | | Port | The port of the FTP server to which you want to upload. | | Protocol | The protocol to use for the upload. *FTP*. Choose this option if your server requires the (standard) FTP protocol. *SFTP*. Choose this option if your server requires the secure FTP protocol. | | Authentication Type | The authentication type to use when connecting to the FTP server. *Username and Password*. Choose this option if you want to authenticate using a username and password. *Anonymous*. Choose this option if the FTP server does not require authentication. | | Username | The username to use for authentication. This property is only applicable if the property *Authentication Type* is set to *Username and Password*. | | Password | The password to use for authentication. This property is only applicable if the property *Authentication Type* is set to *Username and Password*. | | Remote Path | An [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) that evaluates to a string that contains the remote path (relative to the root path of the FTP) to upload the content to. See Content Types below to include or not the file name in the expression. | ### Content Types #### Uploading a Report Document You can upload a report document (that you have previously created, for instance with a [Create Report Document Action](/release34/docs/create-report-document)) by setting the *Content Type* to *Report Document*. An additional property *Content* will be available where you can select the report document you want to upload. The *Remote Path* property must return the relative path on the FTP server including the file name. #### Uploading an External File You can upload an external file to the FTP by setting the property *Content Type* to *External File*. A new property *Content Path* will be available which is an [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) that evaluates to a string that contains a local or UNC file path to the external file to upload to the FTP. The *Remote Path* property must return the relative path on the FTP server including the file name. #### Uploading a File Collection You can upload all files of a [File Collection](/release34/docs/file-collections) by setting the property *Content Type* to *File Collection*. A new property *Content* will be available where you can select the file collection to upload. The *Remote Path* property must return the relative path on the FTP server but not include any file name, because the file names of the content of the file collections will be used for the upload. #### Uploading a Zipped File Collection You can upload a ZIP file that contains all files of a [File Collection](/release34/docs/file-collections) by setting the property *Content Type* to *Zipped File Collection*. A new property *Content* will be available where you can select the file collection to zip and upload. The *Remote Path* property must return the relative path on the FTP server including the file name of the uploaded ZIP file.