# File Transfer

The *File Transfer* task performs specified actions on an FTP server. For example, the task can be used to upload a file to an FTP server, rename a file, or delete all files from a remote directory.

<figure><img src="/files/TAvpiTY04MoZwNiXnTWj" alt=""><figcaption></figcaption></figure>

To perform an FTP task, drag-and-drop the *File Transfer* task object onto the workflow designer. Configure the object by right-clicking on the object’s header and selecting *Properties* from the context menu.

![](/files/qB9NeLNaoaDg4Y46SExO)

A *File Transfer Action Properties* window will open, as shown below. Here, we will configure the properties of the *File Transfer* task.

![](/files/d1kWhYxGH8qnjCuB4KhA)

*FTP Connection*: To configure a connection with your FTP server, click on the ellipsis button on the right, next to the empty field. A *Web Connection* window will open.

![](/files/Or39BK9V4F9ey4uWUEPa)

Here, set up the FTP server connection by providing the *URL*, *Login Name*, and *Password*. In the *Connection Method* dropdown, select the preferred file transfer protocol. Centerprise supports various file transfer protocols namely FTP, SFTP, SCP, HDFS and SMB, and each protocol has unique configurations. For detailed instructions, refer to the respective protocol documentation.

<figure><img src="/files/mabLfyI4h31pQMpjPxRG" alt=""><figcaption></figcaption></figure>

In case logs are required for diagnostic purposes, select the preferred option in the *Log Level* dropdown. In case of using a proxy, fill in the details under *Proxy Info*. For security protocols, provide details depending on the connection method and press *OK.*

<figure><img src="/files/NbGVa9FWfULFYMEySfr8" alt=""><figcaption></figcaption></figure>

In the *File Transfer Action Properties* window set up the *FTP Action*. Select an action from the *FTP Action* dropdown. Below are the options available:

![](/files/m84KhCoWqYAL0bzdJG64)

* *Download a File*: Downloads a file from the remote directory into a local folder.
* *Upload a File*: Uploads a file from a local folder into the remote directory.
* *Rename*: Renames a file in the remote directory.
* *Remove Directory*: Deletes the remote directory.
* *Delete a File*: Deletes a file from the remote directory.
* *Upload a File with Unique Name*: Uploads a file from a local folder into the remote directory, renaming the file if needed to ensure a unique file name in the remote directory.

![](/files/TfdNrsnc4W2jmuw2NnSt)

* *Remote Info-Path*: Specify the *Path* of a file or folder on the FTP server.
* *Local Info-Path*: Specify the local *Path* on the server running the workflow.

This concludes our discussion on the *File Transfer* workflow task in Astera.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/astera-data-stack-v10/workflows/file-transfer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
