Sorry but thats not on the table - it would complicate / confuse too
much the code - as there is a fair amount of code that parses folder
names with / and \ slashes and whatnot.

You can fork the code and built your own extended ftp component or use
some other ftp library.


On Tue, Feb 21, 2017 at 7:11 PM, David Hoffer <dhoff...@gmail.com> wrote:
> I did try including separator=UNIX in the URI but that didn't help.
>
> I totally agree it would be better to not use such 'bad' folder names but
> these are specified by external parties and its difficult to control what
> they do.
>
> It would be ideal of the Camel component can handle any folder name that
> the server can support (and in this case the Linux server supports \a\b\c
> just fine) so it would be ideal of Camel could support it.
>
> -Dave
>
> On Tue, Feb 21, 2017 at 11:06 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
>
>> Hi
>>
>> That is a very unfortunate folder name to use.
>>
>> You can try setting the separator option on the ftp endpoint.
>>
>> Otherwise then .. you would be out of luck. Its maybe better to avoid
>> such "bad" folder names instead.
>>
>> On Tue, Feb 21, 2017 at 6:34 PM, David Hoffer <dhoff...@gmail.com> wrote:
>> > I'm trying to connect to a Linux SFTP server that has a literal
>> sub-folder
>> > name of \a\b\c. Where \ are literal backslash characters.  Note, this
>> > subfolder is a child of the user's login folder and does not represent a
>> > root folder.
>> >
>> > Is there any way to configure Camel to treat the backslashes as literal
>> > characters and not folder separators?
>> >
>> > -Dave
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> http://davsclaus.com @davsclaus
>> Camel in Action 2: https://www.manning.com/ibsen2
>>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to