You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by chrislpigg <ch...@gmail.com> on 2014/09/24 00:01:17 UTC
FTP double login
I'm doing a basic FTP login to an ftp server. Once I'm in I need to also
login to a mail account by executing -> user "username@edi.pubnet.org 10259"
password
How would I do this ?
here is my route so far which logs into the ftp server ->
from("ftp://urlToFTPSite:21?username=myusername&password=mypassword&useList=false").to("stream:out");
How do I execute a command once I'm logged in?
--
View this message in context: http://camel.465427.n5.nabble.com/FTP-double-login-tp5756919.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: FTP double login
Posted by Claus Ibsen <cl...@gmail.com>.
The camel-ftp component does not support executing extra commands like that.
On Wed, Sep 24, 2014 at 12:01 AM, chrislpigg <ch...@gmail.com> wrote:
> I'm doing a basic FTP login to an ftp server. Once I'm in I need to also
> login to a mail account by executing -> user "username@edi.pubnet.org 10259"
> password
>
> How would I do this ?
>
> here is my route so far which logs into the ftp server ->
> from("ftp://urlToFTPSite:21?username=myusername&password=mypassword&useList=false").to("stream:out");
>
> How do I execute a command once I'm logged in?
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/FTP-double-login-tp5756919.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/