2022
The DBSyncs FTP (File Transfer Protocol) connector implements a file transport channel that allows the DBSync to exchange files with an FTP server. This FTP connector can be used to:
File Transfer Protocol or FTP is a network protocol used to transfer computer files between a client and a server.
It has an extension, named FTPS, which allows for the encryption of the sessions. It uses a different port (see table below).
Prerequisites
In order to establish a connection to an external File Transfer Protocol server, the user needs the following:
The DBSync FTP connector allows you to tranfer data from and to an FTP server.
In order to transfer data from an FTP server to another source, you need to define a Trigger that describes where the data resides.
In order to tranfer to an FTP server, you need to define one or more Rules that describe where to store the data
Notes:
The following table describes the parameters needed to define an FTP connector:
Property | Description | Required | Default Values |
---|---|---|---|
HostName | The HostName of the FTP server, by default we provide file protocol as FTP and in case if the user wishes to change to DBSync supports only below given protocols. | yes | FTP, SFTP, FTPS |
Port | The port number of the FTP server . By default for plain file protocol the port number should be 21 and for secured protocol it is 22 | yes | FTP:21 |
UserName | The username of the FTP server | Yes | |
Password | The password of the FTP server | Yes | |
Folder | The folder path from where the files should be read or written. If slash is given at the start of the path then connector picks | Yes | |
Columns | The columns are the header in the file which should be comma separated | Optional | |
Delimiter | Delimiter indicating separation of data. For example a comma. | ||
Enable | |||
Remote server | Enables the use of a remote server | ||
Use SSH | Enables the use of SSH, also known as Secure Socket Shell, is a network protocol that provides administrators with a secure way to access a remote computer. |
The following table describes the Trigger properties of an FTP connector that need to be defined when sending data from the FTP server to another source..
Property | Description | Required | Default Value |
---|---|---|---|
Store | This property enables the data to be stored in-memory during file Transfers. There are two possible values i.e. Session InMemory means that the transferred values are held in the cache. Session means that the stored values are held in the session | yes | session |
Directory | DBSync FTP connector enables you to dynamically select the inbound file directory via Trigger property Section | optional | |
File Has Header | Indicates that the file has a header. | optional | |
Post Processing | Enables the execution of Shell commands after completing the data transfer process. | optional | |
Regular Expression | Enables to select all similar files on the server location for processing. Example: ^([a-zA-Z]:\\)?[^\x00-\x1F"<>\|:\*\?/]+\.[a-zA-Z]{3,4}$ matches a valid Windows file name. | optional |
The Query Builder is a tool that allows you to define a specific SQL query. In this manner you can create queries that are tailored to your needs.
The following table describes the Rule properties that need to be defined when sending data to an FTP server.
Property | Description | Required | Default Values |
---|---|---|---|
Mode | FTP has a two different ways to establish a data connection between FTP server and it's client. The two modes are reffered to as | yes | passive |
File Type | The property is the file type and there are two types i.e. First one is binary and the other one is ASCII | yes | ASCII |
File Name | File name signifies the target file name which is set for two purposes
| optional | |
Batch Size | The batch size is the speed with which files are inserted into target system. By default the DBSync will pass this as 200 | optional | |
Directory | Directory to store the file on to the Target FTP server | optional |
Uses Of FTP Connector
Q: Does FTP connector support Bi-directional data flow?
A: Yes, and you also have the control to make it uni-directional if you chose.
Q: How frequently one can sync the data if reading from or writing to any FTP server?
A: The sync can be performed every five-minute interval of time.
Q: Is this connector available with both on-demand and on-premise versions?
A: Yes, the FTP connector can be used both on-demand and on-premise versions of DBSync Cloud Workflow
Q: How can I try FTP connector before purchasing the license?
A: We have a free trial for 15 days after going through the sign-up process.