You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by amonts <to...@elca.ch> on 2010/09/02 08:49:27 UTC

camel-ftp mkdir uses windows-style backslash

Hello all,

my route uploads files to an ftp server to url is defined as follows:
ftp://user@server/some/sub/dir?password=somepass

The complete directory structure is already available... but camel creates a
directory with windows-style backslashes...
I can see the ftp-server log where it says that a folder
"/the/ftp/root/some\sub\dir" is being created.

Is it correct that camel does it that way or ist it a problem in the
ftp-server?

Thanks and kind regards
Tobias
-- 
View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-mkdir-uses-windows-style-backslash-tp2800217p2800217.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: camel-ftp mkdir uses windows-style backslash

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

You never got back to us and hence we cant help out.

Read this wiki page about asking for help/support
http://camel.apache.org/support

Obviously we gotta know OS, version used, did it work before, what FTP
server you are using, etc. etc.

And have you tried with other FTP servers as it may be a "dumb" server
which can't detect path separators in both styles.



On Thu, Sep 2, 2010 at 8:49 AM, amonts <to...@elca.ch> wrote:
>
> Hello all,
>
> my route uploads files to an ftp server to url is defined as follows:
> ftp://user@server/some/sub/dir?password=somepass
>
> The complete directory structure is already available... but camel creates a
> directory with windows-style backslashes...
> I can see the ftp-server log where it says that a folder
> "/the/ftp/root/some\sub\dir" is being created.
>
> Is it correct that camel does it that way or ist it a problem in the
> ftp-server?
>
> Thanks and kind regards
> Tobias
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-mkdir-uses-windows-style-backslash-tp2800217p2800217.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: camel-ftp mkdir uses windows-style backslash

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Please use the user mailing list.

And then read this wiki page which have advice what to put in as
details when asking for help.
http://camel.apache.org/support


On Thu, Sep 2, 2010 at 8:49 AM, amonts <to...@elca.ch> wrote:
>
> Hello all,
>
> my route uploads files to an ftp server to url is defined as follows:
> ftp://user@server/some/sub/dir?password=somepass
>
> The complete directory structure is already available... but camel creates a
> directory with windows-style backslashes...
> I can see the ftp-server log where it says that a folder
> "/the/ftp/root/some\sub\dir" is being created.
>
> Is it correct that camel does it that way or ist it a problem in the
> ftp-server?
>
> Thanks and kind regards
> Tobias
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-mkdir-uses-windows-style-backslash-tp2800217p2800217.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus