Skip to content

Commit

Permalink
SFTP Kamelet Source: Support ignoreFileNotFoundOrPermissionError para…
Browse files Browse the repository at this point in the history
…meter
  • Loading branch information
oscerd committed Aug 2, 2022
1 parent 3c2892b commit cc25946
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ spec:
default: true
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
ignoreFileNotFoundOrPermissionError:
title: Ignore File Not Found Or Permission Error
description: Whether to ignore when (trying to list files in directories or when downloading a file), which does not exist or due to permission error. By default when a directory or file does not exists or insufficient permission, then an exception is thrown. Setting this option to true allows to ignore that instead.
type: boolean
default: false
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
dependencies:
- "camel:ftp"
- "camel:core"
Expand All @@ -99,6 +106,7 @@ spec:
passiveMode: "{{passiveMode}}"
recursive: "{{recursive}}"
idempotent: "{{idempotent}}"
ignoreFileNotFoundOrPermissionError: "{{ignoreFileNotFoundOrPermissionError}}"
steps:
- set-header:
name: file
Expand Down

0 comments on commit cc25946

Please sign in to comment.