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:52 UTC
[camel-kamelets] 03/10: FTP / SFTP connectors missing setting for binary mode transfers - FTP Sink
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 33bd9b6f11a23fd6064630226143e86f8a2f5fd4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 18 19:15:08 2022 +0100
FTP / SFTP connectors missing setting for binary mode transfers - FTP Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/ftp-sink.kamelet.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/kamelets/ftp-sink.kamelet.yaml b/kamelets/ftp-sink.kamelet.yaml
index 36d534ab..92e5f98f 100644
--- a/kamelets/ftp-sink.kamelet.yaml
+++ b/kamelets/ftp-sink.kamelet.yaml
@@ -82,6 +82,13 @@ spec:
description: How to behave in case of file already existent. There are 4 enums. 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}}"