# FileTransferModule

The FileTransferModule can be used to send files from the Cloud Storage Account, that the Edge Device is configured to use. It can also be used to send files from the Local storage of the Edge Device to the Cloud Storage Account. The FileTransferModule also supports a number of Local Blob (files) Operations.

The FileTransferModule also supports FTP and FTPS filetransfers to a Factory Floor FTP Server. It is capable of both listing files from any FTP Server folder, Upload files to the FTP Server and Download Files from the FTP Server to the Local Storage of the Field Agent.

Finally the FileTransferModule supports installing Public Certificates in the Local Storage of the Edge Device. This is done by asking the FileTransferModule to download the Certificate from the Cloud Storage Account that the Edge Device is configured to use.

The FileTransferModule accepts a number of Direct Method Commands from the IoT Hub. These Commands will tell the FileTransferModule what operation to initiate. Any Direct Method call (Operation) performed, will return a response, telling the caller whether the operation was succesfull using an HTTP Status code, and if any error occurs during the Operation, the response will also contain a response payload containing the Error. The FileTransferModule also logs all Errors and Warnings if configured in the Module Twin.


---

# 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.tricloudnexus.io/edge/nexus-modules/data-connector-modules/filetransfermodule.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.
