This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/master by this push: new 29e98a5 FTP Source Kamelet: Add passiveMode, recursive and convert body to String (#38) 29e98a5 is described below commit 29e98a5f5605c98e6b7db8331e60ca9c84bda57a Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Sat Mar 6 15:20:03 2021 +0100 FTP Source Kamelet: Add passiveMode, recursive and convert body to String (#38) --- ftp-source.kamelet.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ftp-source.kamelet.yaml b/ftp-source.kamelet.yaml index 935b3d4..f3e2378 100644 --- a/ftp-source.kamelet.yaml +++ b/ftp-source.kamelet.yaml @@ -39,9 +39,19 @@ spec: x-descriptors: - urn:alm:descriptor:com.tectonic.ui:password directoryName: - title: directoryName + title: Directory Name description: The starting directory type: string + passiveMode: + title: Passive Mode + description: Sets passive mode connection + type: boolean + default: false + recursive: + title: Recursive + description: If a directory, will look for files in all the sub-directories as well. + type: boolean + default: false types: out: mediaType: application/json @@ -52,5 +62,9 @@ spec: uri: "ftp:{{username}}@{{host}}:{{port}}/{{directoryName}}" parameters: password: "{{password}}" + passiveMode: "{{passiveMode}}" + recursive: "{{recursive}}" steps: + - convert-body-to: + type: "java.lang.String" - to: "kamelet:sink"