# FTP Output

This component sends file(s) to the remote (s)FTP server.

<img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image200.png" alt="" data-size="line">

## **Input**

&#x20;

<table><thead><tr><th width="230">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>System ID</td><td><p>Remote (s)FTP system id</p><p>System id comes from <a href="https://support.xnarum.com/download/manual.php#_System">System list</a>.</p></td></tr><tr><td>Input Path</td><td><p>Local source file with path.</p><p>The file name can have wildcard (*).</p></td></tr><tr><td>Output Path</td><td>Remote directory</td></tr><tr><td>Output File</td><td>Remote file name</td></tr><tr><td>File Not Found?</td><td><p>Action indicator when input file does not exist.</p><p>·       Ignore</p><p>·       Throw error</p></td></tr><tr><td>Mode</td><td><p>Action when the target file already exists.</p><p>·       Skip &#x26; Error</p><p>·       Overwrite</p><p>·       Append</p></td></tr><tr><td>Check Size</td><td>Compare the original size and the transferred size of the file?</td></tr><tr><td>Transfer Mode</td><td><p>File transfer mode. The default option is ascii.</p><ul><li>Ascii</li><li>Binary</li></ul></td></tr><tr><td>After Put</td><td><p>Action on the input file after transfer.</p><ul><li>Do nothing</li><li>Backup</li><li>Delete</li></ul></td></tr><tr><td>Backup Path</td><td><p>Back up path of the source file, if the action after put is backup.</p><p>Local path</p></td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="235">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>ResultPath</td><td>Remote path where the transferred files are stored.</td></tr><tr><td>FileTransferred</td><td>Boolean value whether file(s) are transferred or not.</td></tr><tr><td>ResultFileList</td><td>Result file information. This is a list of the transferred files.</td></tr><tr><td>ResultFileCount</td><td>The number of the transferred files.</td></tr></tbody></table>

&#x20;

| ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image201.png) | <p>·       inputFileSize - file size in bytes</p><p>·       inputFileName - remote file name</p><p>·       isDirectory - Boolean value</p> |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |

&#x20;

## **Example**

This example simply collects a file from the source sFTP server and transfer that file to the target sFTP server.

!\[Icon

Description automatically generated with medium confidence]\(<https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image202.png>)

### **GET**

&#x20;

| Input                                                                                                                                              | Output |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| \<img src="<https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image203.png>" alt="Graphical user interface, text, application, email |        |

Description automatically generated" data-size="original"> | <img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image204.png" alt="" data-size="original"> |

&#x20;

### **PUT**

&#x20;

| Input                                                                             | Output                                                                            |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image205.png) | ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image206.png) |
