# Upload para FTP

{% tabs %}
{% tab title="Parâmetros" %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcJ0xp2J6U9INwLFiMlLJZeC2W8begi8MFCABKeSjDBYv8CQu0Aiui4_FKgpHQ8LaEBdfYggszvQxNNcHGyHUBUQJjz_SqOk9usxxuVucm-AXCOa6FY_NZJIOFHe3Meq5r8ZJMWDw?key=yLogrgEbXy0K_a4zmB9ApgKO" alt=""><figcaption><p>Parâmetros de configuração</p></figcaption></figure>

| Campo                                             | Tipo           | Descrição                                                                                                                                         |
| ------------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Descrição                                         | Campo de texto | Descrição visual do conector na construção do fluxo.                                                                                              |
| Conta de serviço                                  | Seletor        | Permite selecionar contas de serviço para conexão com servidor FTP. A conta de serviço deverá ser do tipo FTP Server para ser exibida na listagem |
| Caminho do arquivo para upload no Workspace Floui | Campo de texto | Define o caminho do arquivo, no Storage interno do Workspace, que será enviado para o servidor FTP.                                               |
| Caminho do arquivo no servidor FTP                | Campo de texto | Define o local de destino onde o arquivo será armazenado no servidor FTP.                                                                         |
| Output Path                                       | Campo de texto | Refere-se ao caminho de saída onde o resultado do envio será disponibilizado no contexto de execução do conector.                                 |
| {% endtab %}                                      |                |                                                                                                                                                   |

{% tab title="Payload" %}

## Sucesso

Ao ser executado com sucesso, o conector irá retornar a carga de dados como o exemplo abaixo. O código 226 refere-se a ação bem sucedida e conexão de transferência fechada.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXforQs39bXFQwG5_ux3C23pYsv65F_s8aqwJs8fG0SoRV_kiavH3Nba6t8BIOg7Er2IH3P3TllTib5a2xkILl5gAsC5RDBQ2lwsES71lzBBLvJTBBRWuMAQoZepaDYZ4GHBQL47Ow?key=yLogrgEbXy0K_a4zmB9ApgKO" alt=""><figcaption><p>Sucesso em upload</p></figcaption></figure>

## Erro

Em casos de erro no upload a carga de dados será retornada como a estrutura abaixo.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdad9WIup-0kmRuntpOHzsBivgMm9-HBOf6YMWySM_SI1TL45IehTxmqlqiSdduCBw9id9u-EnBenQv8WbTATDhyAVinOoKGhnZzzE1K3oqOVcCTC0OkqeA-1HmxgMUO-Y64UMfsw?key=yLogrgEbXy0K_a4zmB9ApgKO" alt=""><figcaption><p>Erro em upload</p></figcaption></figure>

Os códigos FTP podem ser consultados por [este artigo](<https://learn.microsoft.com/pt-br/troubleshoot/developer/webapps/iis/ftp-service-svchost-inetinfo/ftp-status-codes-iis-7-and-later-versions >).
{% endtab %}
{% endtabs %}


---

# 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://docs.floui.io/guia/conectores/categorias/manipulacao-de-arquivos/externos/upload-para-ftp.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.
