You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by ychawla <pr...@yahoo.com> on 2006/09/12 01:33:11 UTC

FTPS support and polling

Hello All,
We have an enterprise FTPS server that uses SSL with client and server
certificates.  I would like to set up a mechanism to poll this site and the
fire off a web service to complete some business logic.  I can't find any
support for this.

This is what we have done thus far
-confirmed that the file drop capabilities of service mix work.
-integrated xfire web services with service mix

However, we also want to support our clients dropping a file on an FTP
server which will then invoke a web service.

I looked into JAFS, but that looks like it integrates if you use JAFS as
your FTPS server.  We have an existing server with client and server certs
already issued that we have to connect to.

Any ideas??

Thanks!

Yogesh

PS. We have written a python client that uses pycurl/libcurl with a java
wrapper to put/get files on this server.  We could write our own poller but
our initial attempts have proved to be innefficient and resource intensive
-- 
View this message in context: http://www.nabble.com/FTPS-support-and-polling-tf2255932.html#a6257208
Sent from the ServiceMix - User forum at Nabble.com.


Re: FTPS support and polling

Posted by Guillaume Nodet <gn...@gmail.com>.
You should be able to handle FTP over SSL.
Take a look at http://servicemix.goopen.org/site/ftp.html
To configure the ftp client to use SSL, you need
to override the FTPClientPool#createSocketClient,
so that you configure the SocketClient with an SSL
enabled socket Factory.

See
http://www.mail-archive.com/commons-user@jakarta.apache.org/msg16244.html

Feel free to raise a JIRA and provide a patch ;)

On 9/12/06, ychawla <pr...@yahoo.com> wrote:
>
>
> Hello All,
> We have an enterprise FTPS server that uses SSL with client and server
> certificates.  I would like to set up a mechanism to poll this site and
> the
> fire off a web service to complete some business logic.  I can't find any
> support for this.
>
> This is what we have done thus far
> -confirmed that the file drop capabilities of service mix work.
> -integrated xfire web services with service mix
>
> However, we also want to support our clients dropping a file on an FTP
> server which will then invoke a web service.
>
> I looked into JAFS, but that looks like it integrates if you use JAFS as
> your FTPS server.  We have an existing server with client and server certs
> already issued that we have to connect to.
>
> Any ideas??
>
> Thanks!
>
> Yogesh
>
> PS. We have written a python client that uses pycurl/libcurl with a java
> wrapper to put/get files on this server.  We could write our own poller
> but
> our initial attempts have proved to be innefficient and resource intensive
> --
> View this message in context:
> http://www.nabble.com/FTPS-support-and-polling-tf2255932.html#a6257208
> Sent from the ServiceMix - User forum at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet