You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/11/18 18:23:51 UTC
[camel-kamelets] 02/10: FTP / SFTP connectors missing setting for binary mode transfers - FTP Source
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch fix-1156-0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 066fccb3cd80e03f6f8b69bee1afbe5060eb2b81
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 18 19:13:48 2022 +0100
FTP / SFTP connectors missing setting for binary mode transfers - FTP Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/resources/kamelets/ftp-source.kamelet.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
index c31e847a..19f733a6 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/ftp-source.kamelet.yaml
@@ -87,6 +87,13 @@ spec:
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ binary:
+ title: Binary
+ description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).
+ type: boolean
+ default: false
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
dependencies:
- "camel:ftp"
- "camel:core"
@@ -99,6 +106,7 @@ spec:
passiveMode: "{{passiveMode}}"
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
+ binary: "{{binary}}"
steps:
- set-header:
name: file