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

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

commit 2ad1e3ec8b06f509545fe3ba4073ac696f3e602d
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Nov 18 19:12:55 2022 +0100

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

diff --git a/kamelets/ftp-source.kamelet.yaml b/kamelets/ftp-source.kamelet.yaml
index 1e4d1499..71bcfc5a 100644
--- a/kamelets/ftp-source.kamelet.yaml
+++ b/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

Reply via email to