//
you're reading...
Musings

Search for the ultimate FTP client

Of late I have been working on a small project that some of us at work came up with. One of the requirements in that was to browse and download files over the network through the “famous” protocols : HTTP, FTP, etc. I turned to Apache for a client for the protocols. Its such a waste of time to reinvent the wheel.

For the interested, a good discussion on the various available ftp client libraries can be found on JavaWorld here.

For FTPing files I picked up the jakarta commons-netcomponent. It works fine for FTP sites within the same LAN or for an internet connection without a Proxy / firewall. However, the network I work in has a proxy server which allows FTP connections only through a HTTP tunnel. The FTP Client in commons-net does not support any form of proxy directly. It supports Socks and FTP proxy through the Java Networking API. (See the related discussion on the commons-user mailing list here.)

The problem has been discussed on the commons-user mailing list here and here.

I came up with the idea to tunnel the FTP request through jakarta commons-httpclient. Commons-httpclient works fine with proxy servers and http requests. But that too hit a roadblock (see the discussion on the httpclient-user mailing list here). Still working on it!

Will post any progress on this blog.

Advertisements

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

About Random Musings

Random Musings is a collection of my personal thoughts, opinions, views and anything else that I find interesting. The views posted here are mine and may not necessarily reflect the views of MindTree Limited (my employer).
%d bloggers like this: