FTP Sink
Send data to an FTP server.
In the header, you can set the file / ce-file property to specify the filename to upload.
If you do not set the property in the header, the Kamelet uses the exchange ID for the filename.
Metadata
| Property |
Value |
| Type |
sink |
| Group |
FTP |
| Namespace |
File |
| Support Level |
Stable |
| Provider |
Apache Software Foundation |
Properties
| Name |
Type |
Required |
Default |
Description |
connectionHost |
string |
✓ |
|
The hostname of the FTP server. |
connectionPort |
string |
✓ |
21 |
The port of the FTP server. |
username |
string |
✓ |
|
The username to access the FTP server. |
password |
string |
✓ |
|
The password to access the FTP server. |
directoryName |
string |
✓ |
|
The starting directory. |
passiveMode |
boolean |
|
false |
Specifies to use passive mode connection. |
fileExist |
string |
|
Override |
How to behave in case of file already existent. |
binary |
boolean |
|
false |
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). |
autoCreate |
boolean |
|
true |
Automatically create the directory the files should be written to. |
Dependencies
camel:ftp
camel:core
camel:kamelet