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:54 UTC
[camel-kamelets] 05/10: FTP / SFTP connectors missing setting for binary mode transfers - SFTP 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 272ce8d83c6f50e082deeff8bc7e511dcaedfeaf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 18 19:17:01 2022 +0100
FTP / SFTP connectors missing setting for binary mode transfers - SFTP Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/sftp-source.kamelet.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/kamelets/sftp-source.kamelet.yaml b/kamelets/sftp-source.kamelet.yaml
index a2a2e9e9..4f041d37 100644
--- a/kamelets/sftp-source.kamelet.yaml
+++ b/kamelets/sftp-source.kamelet.yaml
@@ -94,6 +94,13 @@ spec:
default: false
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"
@@ -107,6 +114,7 @@ spec:
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
+ binary: "{{binary}}"
steps:
- set-header:
name: file