You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Philippe Soares (Jira)" <ji...@apache.org> on 2023/09/13 22:03:00 UTC

[jira] [Comment Edited] (CAMEL-19716) camel-file - Add option to accept hidden files

    [ https://issues.apache.org/jira/browse/CAMEL-19716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764891#comment-17764891 ] 

Philippe Soares edited comment on CAMEL-19716 at 9/13/23 10:02 PM:
-------------------------------------------------------------------

Hi! Thank you for the new parameter.

Sadly, by attempting to exclude .camelLock and .camel, we just make it impossible to upload any files located inside a hidden folder.

e.g.: if a route starts with 
{code:java}
from: file:/data{code}
and there is a file under /file/data/.logs/app.log, then app.log will never be processed.


was (Author: JIRAUSER300247):
Hi! Thank you for the new parameter.

Sadly, by attempting to exclude .camelLock and .camel, we just make it impossible to upload any files located inside a hidden folder.

e.g.: if a route starts with `from: file:/data` and there is a file under `/file/data/.logs/app.log`, then app.log will never be processed.

> camel-file - Add option to accept hidden files
> ----------------------------------------------
>
>                 Key: CAMEL-19716
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19716
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-file
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> Hidden files are skipped.
> We should add an option
> includeHiddenFiles=true|false
> in the file consumer. However we should skip the .camelLock file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)