# FTP Transfer

This component transfers file(s) from remote source to remote target (s)FTP server. This component does not store the file data in the local disk.&#x20;

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

·       File transfer with FTP In/FTP Out.

!\[Icon

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

This file transfer involves local disk. The files collected are stored in the local disk before sending to the target server. Once the collecting is complete, reading and sending to the target server is started. The collected files are kept unless After Put option is Delete.

·       File transfer with FTP InOut

<figure><img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image209.png" alt="" width="188"><figcaption></figcaption></figure>

This file transfer involves no local disk. The files are transferred to the target server directly while being collected. This transfer gets the output stream not from local file but from remote (s)FTP output stream. And this transfer sends files in binary mode.&#x20;

## **Input**

One input tab consists of these two types of attributes.

### **Source**

&#x20;

<table><thead><tr><th width="242">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Source 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>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>Wait Seconds</td><td>Wait seconds until the file is not modified. Default is 5 seconds.</td></tr><tr><td>Check Size</td><td>·       If yes, compare the size of the original file and the transferred file.</td></tr><tr><td>After Get</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 get is backup.</p><p>Remote path</p></td></tr></tbody></table>

&#x20;

### **Target**

&#x20;

<table><thead><tr><th width="233">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Target 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 list</a>.</p></td></tr><tr><td>Output Path</td><td>Remote file name with path</td></tr><tr><td>Target File Operation</td><td><p>Action when the target file already exists.</p><ul><li>Skip</li><li>Overwrite</li><li>Append</li></ul></td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="224">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>ResultFiles</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/image210.png) | <p>·       \_name - source file name</p><p>·       \_path - source file path</p><p>·       \_transferredSize - transferred file size</p><p>·       lastModified - last modified time in milliseconds.</p><p> </p> |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
