[
https://issues.apache.org/jira/browse/CAMEL-25938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131140#comment-18131140
]
Claus Ibsen commented on CAMEL-25938:
-------------------------------------
Fixed in PR https://github.com/apache/camel/pull/28373
_Claude Code on behalf of davsclaus_
> camel-ftp - the catalog says the download option of ftp, ftps, sftp,
> mina-sftp, azure-files and smb defaults to false: it is true
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-25938
> URL: https://issues.apache.org/jira/browse/CAMEL-25938
> Project: Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 4.18.0, 4.22.0, 4.23.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> {{RemoteFileEndpoint}} (camel-ftp-common, main 4065a7464c45, lines 65-69)
> declares the {{download}} option without its default value:
> {code:java}
> @UriParam(label = "consumer,advanced", description = "Whether the FTP
> consumer should download the file. ...")
> private boolean download = true;
> {code}
> So the package plugin writes {{"defaultValue": false}} for {{download}} into
> the catalog of ftp, ftps, sftp, mina-sftp and azure-files, which extend it,
> and the option tables of their pages say the default is false.
> {{SmbConfiguration}} (camel-smb, lines 64-68) declares its {{download}} the
> same way. The consumers download by default.
> *Proposed change*: add {{defaultValue = "true"}} to both {{@UriParam}}.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)