You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by bbuzzard <Bi...@bnsflogistics.com> on 2012/06/01 14:31:48 UTC

How can FTP Component connect to FTP Server via GXS Proxy

I have an application that needs to connect to a customer's ftp server via
the GXS proxy server.  I can do this with a simple Linux FTP script, but I
would like to do it with Camel Spring.  The ftp script simply does ftp, open
ip, user 'username password' (to authenticate at GXS), a second user
'user@customerftpserver password' (to authenticate at the customer ftp
site), cd to the directory we're going to pull files from and then mget.

Is it possible to do that with Camel Spring?  If so, how?  What would the
xml look like?

--
View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can FTP Component connect to FTP Server via GXS Proxy

Posted by Christian Müller <ch...@gmail.com>.
As we describe at [1], Apache Camel FTP uses Apache Commons Net (and do not
reinvent the wheel...). *IF* Apache Commons Net supports GXS, we also
should get it working...

[1] http://camel.apache.org/ftp2.html
[2] http://commons.apache.org/proper/commons-net/

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Fri, Aug 16, 2013 at 6:25 PM, bbuzzard
<Bi...@bnsflogistics.com>wrote:

> Yes I'm talking about GXS and I'm disappointed to learn that I have to
> create a custom bean.  I can use Linux's FTP command from a script to
> connect to GXS and download the files I need.  I was hoping that the FTP
> component in camel could be used to perform the same task as the script.
>
> From: woopi [via Camel] [mailto:ml-node+s465427n5737316h93@n5.nabble.com]
> Sent: Thursday, August 15, 2013 5:00 AM
> To: Billy Buzzard
> Subject: RE: How can FTP Component connect to FTP Server via GXS Proxy
>
> Hi,
>
> are you talking about the GXS box FTP Server from http://www.gxs.com/?
>
> I wasted some time to get the connection to GXS FTP working.
>
> Their ftp server uses a slightly different protocol called GMark III. To
> get the files downloaded you have to send the correct gmark III commands on
> the protocol channel.
>
> I did this using a bean not with the ftp component.
>
> Regards
>
> Martin
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5737316.html
> To unsubscribe from How can FTP Component connect to FTP Server via GXS
> Proxy, click here<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5713818&code=QmlsbHkuQnV6emFyZEBibnNmbG9naXN0aWNzLmNvbXw1NzEzODE4fC05MjA3NTk2MzE=
> >.
> NAML<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5737425.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

RE: How can FTP Component connect to FTP Server via GXS Proxy

Posted by bbuzzard <Bi...@bnsflogistics.com>.
Yes I'm talking about GXS and I'm disappointed to learn that I have to create a custom bean.  I can use Linux's FTP command from a script to connect to GXS and download the files I need.  I was hoping that the FTP component in camel could be used to perform the same task as the script.

From: woopi [via Camel] [mailto:ml-node+s465427n5737316h93@n5.nabble.com]
Sent: Thursday, August 15, 2013 5:00 AM
To: Billy Buzzard
Subject: RE: How can FTP Component connect to FTP Server via GXS Proxy

Hi,

are you talking about the GXS box FTP Server from http://www.gxs.com/?

I wasted some time to get the connection to GXS FTP working.

Their ftp server uses a slightly different protocol called GMark III. To get the files downloaded you have to send the correct gmark III commands on the protocol channel.

I did this using a bean not with the ftp component.

Regards

Martin
________________________________
If you reply to this email, your message will be added to the discussion below:
http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5737316.html
To unsubscribe from How can FTP Component connect to FTP Server via GXS Proxy, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5713818&code=QmlsbHkuQnV6emFyZEBibnNmbG9naXN0aWNzLmNvbXw1NzEzODE4fC05MjA3NTk2MzE=>.
NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5737425.html
Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How can FTP Component connect to FTP Server via GXS Proxy

Posted by woopi <ma...@gmx.de>.
Hi,

are you talking about the GXS box FTP Server from http://www.gxs.com/?

I wasted some time to get the connection to GXS FTP working. 

Their ftp server uses a slightly different protocol called GMark III. To get
the files downloaded you have to send the correct gmark III commands on the
protocol channel.

I did this using a bean not with the ftp component.

Regards

Martin



--
View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5737316.html
Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How can FTP Component connect to FTP Server via GXS Proxy

Posted by bbuzzard <Bi...@bnsflogistics.com>.
James I use camel ftp2 all the time, but I’ve never had to do the double user login.  Have you?

From: James Carman [via Camel] [mailto:ml-node+s465427n5713832h89@n5.nabble.com]
Sent: Saturday, June 02, 2012 3:14 AM
To: Billy Buzzard
Subject: Re: How can FTP Component connect to FTP Server via GXS Proxy

Have you tried it?  Check out the documentation at:

http://camel.apache.org/ftp2.html

Connecting to FTP with Camel is pretty easy.  Give it a whirl.
Perhaps check out some of the test cases here:

http://svn.apache.org/repos/asf/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/


On Fri, Jun 1, 2012 at 8:31 AM, bbuzzard
<[hidden email]</user/SendEmail.jtp?type=node&node=5713832&i=0>> wrote:

> I have an application that needs to connect to a customer's ftp server via
> the GXS proxy server.  I can do this with a simple Linux FTP script, but I
> would like to do it with Camel Spring.  The ftp script simply does ftp, open
> ip, user 'username password' (to authenticate at GXS), a second user
> 'user@customerftpserver password' (to authenticate at the customer ftp
> site), cd to the directory we're going to pull files from and then mget.
>
> Is it possible to do that with Camel Spring?  If so, how?  What would the
> xml look like?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

________________________________
If you reply to this email, your message will be added to the discussion below:
http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5713832.html
To unsubscribe from How can FTP Component connect to FTP Server via GXS Proxy, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5713818&code=QmlsbHkuQnV6emFyZEBibnNmbG9naXN0aWNzLmNvbXw1NzEzODE4fC05MjA3NTk2MzE=>.
NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


--
View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818p5713953.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can FTP Component connect to FTP Server via GXS Proxy

Posted by James Carman <ja...@carmanconsulting.com>.
Have you tried it?  Check out the documentation at:

http://camel.apache.org/ftp2.html

Connecting to FTP with Camel is pretty easy.  Give it a whirl.
Perhaps check out some of the test cases here:

http://svn.apache.org/repos/asf/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/


On Fri, Jun 1, 2012 at 8:31 AM, bbuzzard
<Bi...@bnsflogistics.com> wrote:
> I have an application that needs to connect to a customer's ftp server via
> the GXS proxy server.  I can do this with a simple Linux FTP script, but I
> would like to do it with Camel Spring.  The ftp script simply does ftp, open
> ip, user 'username password' (to authenticate at GXS), a second user
> 'user@customerftpserver password' (to authenticate at the customer ftp
> site), cd to the directory we're going to pull files from and then mget.
>
> Is it possible to do that with Camel Spring?  If so, how?  What would the
> xml look like?
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-can-FTP-Component-connect-to-FTP-Server-via-GXS-Proxy-tp5713818.html
> Sent from the Camel - Users mailing list archive at Nabble.com.