This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch fix-1156 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit e53a70142154799d8d0a9103d4003eedb2b69e2f Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Nov 18 19:21:48 2022 +0100 FTP / SFTP connectors missing setting for binary mode transfers - FTPS Source and Sink Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../src/main/resources/kamelets/ftps-sink.kamelet.yaml | 8 ++++++++ .../src/main/resources/kamelets/ftps-source.kamelet.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml index 7050519f..6495f389 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/ftps-sink.kamelet.yaml @@ -82,6 +82,13 @@ spec: description: "Specifies how the Kamelet behaves if the file already exists. Possible values are Override, Append, Fail, or Ignore." type: string default: Override + 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" @@ -108,3 +115,4 @@ spec: password: "{{password}}" passiveMode: "{{passiveMode}}" fileExist: "{{fileExist}}" + binary: "{{binary}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml index f121ee94..36561b98 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/ftps-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/ftps-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