---
title: Upload to FTP
description: Upload files to a remote directory on an FTP server using a configured connection.
category: File Transfer
tags: [ftp, file, upload, server, connection]
---

# Upload to FTP

## Description

The **Upload FTP** activity enables workflows to upload one or more files to a specified directory on a remote **FTP server**. This is typically used to move files to external systems, transfer reports, sync backups, or integrate with legacy services that rely on FTP-based ingestion.

It supports configurable file permissions and an optional upload strategy using temporary filenames to ensure atomic transfers (useful for large files or systems that read files during upload).

> **Use case**:  
> Automatically upload daily report files generated by a workflow to an FTP server used by downstream clients or partners. To prevent partial reads, use the temporary filename option.

---

## Input

| Input Type  | Format | Description                              |
| ----------- | ------ | ---------------------------------------- |
| **File(s)** | Binary | File(s) received from previous activity. |

---

## Output

| Output Type   | Format | Description                                   |
| ------------- | ------ | --------------------------------------------- |
| **File Info** | Table  | Metadata of uploaded files in the FTP server. |

---

## Configuration Fields

| Field Name                | Description                                                                                     | Required |
| ------------------------- | ----------------------------------------------------------------------------------------------- | -------- |
| **Connection**            | FTP connection settings (host, port, credentials). Select an existing FTP connection.           | Yes      |
| **Working Directory**     | The remote directory path on the FTP server where the files will be uploaded.                   | Yes      |
| **Permissions**           | File permission settings in CHMOD format (e.g., `644` or `755`).                                | No       |
| **Upload With Temp Name** | If enabled, the file is uploaded with a temporary name and then renamed after upload completes. | No       |

---

## Sample Input

_Not Applicable_

---

## Sample Configuration

| Field Name            | Value                 |
| --------------------- | --------------------- |
| Connection            | `ftp-prod-connection` |
| Working Directory     | `/inbound/reports`    |
| Permissions           | `644`                 |
| Upload With Temp Name | Enabled               |

---

## Sample Output

| Remote File Name | File Name   | Size |
| ---------------- | ----------- | ---- |
| `file1.txt`      | `file1.txt` | 2MB  |
| `file2.csv`      | `file2.csv` | 3MB  |
