Skip to content

Commit

Permalink
FTP/FTPS and SFTP: Don't convert body to String, leave as-is or at le…
Browse files Browse the repository at this point in the history
…ast try to convert to inputstream - FTPS

Related to #121
  • Loading branch information
oscerd authored and nicolaferraro committed Apr 9, 2021
1 parent e535b99 commit 8306c58
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ftps-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ spec:
description: If a directory, will look for files in all the sub-directories as well.
type: boolean
default: false
idempotent:
title: Idempotency
description: Skip already processed files.
type: boolean
default: true
flow:
from:
uri: "ftps:{{username}}@{{host}}:{{port}}/{{directoryName}}"
parameters:
password: "{{password}}"
passiveMode: "{{passiveMode}}"
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
steps:
- convert-body-to:
type: "java.lang.String"
- to: "kamelet:sink"

0 comments on commit 8306c58

Please sign in to comment.