[
https://issues.apache.org/jira/browse/CAMEL-27454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani resolved CAMEL-27454.
--------------------------------------
Resolution: Fixed
> camel-ftp - a producer without a directory refuses absolute file names
> ----------------------------------------------------------------------
>
> Key: CAMEL-27454
> URL: https://issues.apache.org/jira/browse/CAMEL-27454
> Project: Camel
> Issue Type: Improvement
> Components: camel-file, camel-ftp
> Reporter: Federico Mariani
> Priority: Minor
> Fix For: 4.24.0
>
>
> A producer endpoint without a directory, such as ftp://host or sftp://host,
> works in the login directory. When it is given an absolute file name, it
> writes to that absolute path on the server. With a directory configured, the
> same name is written below that directory, and the endpoint directory itself
> is always relative to the login directory.
> Change: with jailStartingDirectory enabled (the default), a producer endpoint
> without a directory refuses an absolute file name, as it already refuses a
> name with a parent-directory segment. Set jailStartingDirectory=false to keep
> writing to absolute paths. Add a note to the 4.24 upgrade guide.
> Main only; not backported.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)