This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0b9ad3637f770f2b8563b3f63f8438dbac78f0c3
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Nov 18 19:18:49 2022 +0100

    FTP / SFTP connectors missing setting for binary mode transfers - SFTP Sink
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/sftp-sink.kamelet.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/kamelets/sftp-sink.kamelet.yaml b/kamelets/sftp-sink.kamelet.yaml
index a49491d5..4c1dd849 100644
--- a/kamelets/sftp-sink.kamelet.yaml
+++ b/kamelets/sftp-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}}"

Reply via email to