[ 
https://issues.apache.org/jira/browse/CAMEL-21282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven updated CAMEL-21282:
-------------------------
    Description: 
We are using camel-file to write to an Azure File Share, but this fails 
sometimes because our routes can create files in nested folders.

This works fine for a Windows share but Azure shares apparently don't support 
creating multiple folders at once.

The code shows it only does this iteratively if there are permissions set but 
the file share doesn't support Posix (we're running in Windows), setting 
permissions throws an UnsupportedOperationException.

From org.apache.camel.component.file.FileOperations:

!image-2024-09-26-17-58-10-424.png|width=771,height=308!

 

would it be possible to add a parameter to have autoCreate create folders in 
parts, as is done when a permission is set?

  was:
We are using camel-file to write to an Azure File Share, but this fails 
sometimes because our routes can create files in nested folders.

This works fine for a Windows share but Azure shares apparently don't support 
creating multiple folders at once.

The code shows it only does this iteratively if there are permissions set but 
the file share doesn't support Posix (we're running in Windows), setting 
permissions throws an UnsupportedOperationException.

From org.apache.camel.component.file.FileOperations:

!image-2024-09-26-17-58-10-424.png|width=771,height=308!

 

would it be possible to add a parameter to have autoCreate create folders in 
parts as if permissions were set?


> camel-file: allow creating folders one by one
> ---------------------------------------------
>
>                 Key: CAMEL-21282
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21282
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-file
>    Affects Versions: 4.8.0
>            Reporter: Sven
>            Priority: Major
>         Attachments: image-2024-09-26-17-58-10-424.png
>
>
> We are using camel-file to write to an Azure File Share, but this fails 
> sometimes because our routes can create files in nested folders.
> This works fine for a Windows share but Azure shares apparently don't support 
> creating multiple folders at once.
> The code shows it only does this iteratively if there are permissions set but 
> the file share doesn't support Posix (we're running in Windows), setting 
> permissions throws an UnsupportedOperationException.
> From org.apache.camel.component.file.FileOperations:
> !image-2024-09-26-17-58-10-424.png|width=771,height=308!
>  
> would it be possible to add a parameter to have autoCreate create folders in 
> parts, as is done when a permission is set?



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

Reply via email to