 | This article will help you learn how to receive data from or send it to a FTP server in Apatar. |
Configuration
Apatar uses the FTP connector to read/write data from/to FTP servers. To configure the connector:
- Drag-and-drop the FTP icon onto Apatar's work panel.
- Double-click on the node and fill in the form that appears, specifying your login, password, port (21 is the default) and the URL of the server. If you are using a passive connection, click on the checkbox.
- Click Next. Use the FTP browser to select the folder to be transformed. In the FTP browser, double-click on a folder's name to open it, or ".." to return to a previous folder.
- Click Next. If you want the data from the selected resource deleted before new data is uploaded, click on the checkbox.
- Click Finish.
- Drag-and-drop the Transform icon.
- Drag-and-drop the icon of the target connector, if the data is to be received from a FTP server, or source connector, if it is to be sent to it.
- Double-click on the connector to configure it.
- Provide mapping for the three nodes.
- Double-click on the Transform node. You'll see the Transformation window.
- Now, configure the fields. The data from the fields dragged from the left will be written into the fields dragged from the right. The FTP connector has the following fields:
Content - the binary content of a property;
Name - the name of a property or resource;
Path - the relative path to the server;
Read - identifies if you can read these or not;
Write - identifies if you can write into it or not;
Modified - the date of the latest modification;
Size - the size of a property or resource;
isFolder - identifies if this is a resource or property.
To create a folder or a file on the Ftp server, you need to configure the following required fields: Content, Name, Path and isFolder.
- Click Ok to close the Transformation window.
- To preview the results, right-click on the target node, and choose "Preview Results" in the popup menu.
See also
Transformation from FTP to Buzzsaw 
Transformation from FTP to Webdav 