Hi Clause,

integration test suite for camel-ftp seems to be tricky. I'll give it a try, 
keep you informed.

Benjamin 


Am 14. Februar 2025 13:45:43 MEZ schrieb Claus Ibsen <claus.ib...@gmail.com>:
>Hi
>
>Thanks for reporting and creating the PR.
>I wonder if you would have time to try to include an unit test that tests
>this relative file name is correct.
>
>On Thu, Feb 13, 2025 at 9:37 PM Benjamin Graf <benjamin.g...@gmx.net.invalid>
>wrote:
>
>> Hi,
>>
>> I did open CAMEL-21739 for this and add a
>> https://github.com/apache/camel/pull/17143 for a potential fix.
>>
>> Regards,
>>
>> Benjamin
>> On 11.02.2025 21:29, Benjamin Graf wrote:
>>
>> Hi,
>>
>> I'm actually hunting a potential bug after upgrading to the latest 4.10.0
>> Camel version. It seems that the implementation of
>> GenericFileConsumer.getRelativeFilePath does return different values for
>> different file systems. In my test, I'm polling a directory with antInclude
>> set to "subdir/file.txt".
>>
>> Return value of getRelativeFilePath for file, "subdir/file.txt" and for
>> ftp/sftp  "subdir" (without filename). This causes the antFilter to
>> evaluate to false.
>>
>> Maybe a regression of CAMEL-17648. BTW it works with 4.8.3
>>
>> Regards
>>
>> Benjamin
>>
>>
>

-- 
Diese Nachricht wurde von meinem Android-Gerät mit Thunderbird gesendet.

Reply via email to