Get File (Download)
Downloads a file from the FTP server.
If LocalFilePath is given, the file is written to disk and no binary output is produced. If left empty, the content is returned as `FtpGetFileData` / `FtpGetFileResult`.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
| ✅Yes | FTP connection details | |
|
| ✅Yes | Source file path on the FTP server |
|
| ❌No | Specifies the local file path where the file will be saved. If left empty, the file is not physically saved; the content is returned through the GetFileResult output parameter as byte[] (Byte array) type. |
|
| ❌No | Whether to overwrite the existing file (default: false) |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Download success status |
|
| Status message or error detail |
|
| File name + binary data (if the |
|
| Binary data (if the |
⬇️MISC
Parameter | Type | Default | Description |
|---|---|---|---|
|
| ❌No | Specifies whether an exception is thrown when the operation fails. The default value is "No". |