# FTP Input

This component gets file(s) from the remote (s)FTP server and save the file(s) to the local disk.

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

## **Input**

&#x20;

<table><thead><tr><th width="214">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>The path of the source file. This is the remote path.</td></tr><tr><td>Input File</td><td>Input file name. The name can contain wild card(*).</td></tr><tr><td>Suffix Allowed</td><td>File extension list to be allowed. This attribute is used to filter types for wild card input files.</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><p>·       Wait</p></td></tr><tr><td>Wait Seconds</td><td>Wait seconds until the file is not modified. Default is 5 seconds.</td></tr><tr><td>Check Count</td><td><p>How many times to check for the file? WaitSeconds is used as the interval.</p><p>This value is used when Wait is chosen for file not found action and file does not exist yet.</p><p>ex) check count = 5, wait seconds = 5 </p><p>check 5 times with 5 seconds interval = 25 seconds.</p></td></tr><tr><td>Transfer Mode</td><td><p>File transfer mode. The default option is ascii.</p><p>·       Ascii</p><p>·       Binary</p></td></tr><tr><td>After Get</td><td><p>Action on the input file after getting file.</p><p>·       Do nothing</p><p>·       Backup</p><p>·       Delete</p></td></tr><tr><td>Backup Path</td><td><p>Back up path of the source file, if the action after get is backup.</p><p>Remote path</p></td></tr><tr><td>Output Path</td><td><p>Output directory for the retrieved file(s).</p><p>Local path</p></td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="243">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>ResultPath</td><td>Local path where the collected files are stored.</td></tr><tr><td>ResultFiles</td><td>The list of the collected files. </td></tr><tr><td>ResultFileCount</td><td>The number of the collected files.</td></tr></tbody></table>

&#x20;

| ![Graphical user interface&#xA;&#xA;Description automatically generated with low confidence](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image199.png) | <p>·       filename - file name</p><p>·       fileNameNoExt - file name without extension</p><p>·       suffix - file extension</p><p>·       fileNameOnly - file name without extension</p><p> </p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
