Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I am using the jakarta net commons library for ftp client. It works fine when I'm not behind a proxy server. I found this information on the net library
Since the Net project uses java.net.Socket under the covers, you have to set up the Socket settings. If the proxy you are using is a SOCKS4 or SOCKS5 proxy, you can set the following System Properties:
When I check the proxy settings for the computer( Mac os x ) we are only using FTP proxy, HTTP proxy and HTTPS proxy. The Socks proxy is not set. How can I still use the jakarta net library? Is there a way to use the ftpProxyPort and ftpProxyHost in the library?
I use Commons FTP Client to connect via an FTP proxy. But the FTP proxy in question is an open-source Java product; I have to connect to it rather than the target FTP server, and pass it the address of the server in a different way than if I were connecting directly. It's not just a matter of changing a system property. However your FTP proxy may work differently.
I don't think setting any of the proxy properties will get me anywere.
I looked into the FTP client class in the jakarta net library and saw that the socket was created from the ServerSocket. Can a proxy be set in the serversocket and/or the socket class without using the java 1.5?
A lot of programmers out there must be in the same situation and solve this. There are not much information when I google around.
My proxy server didn't even claim to support FTP, so I got this FTP proxy software and installed it where it could connect to the outside world. Works just fine, except occasionally connections to it hang up. But then that happens for other FTP servers, too. But as I said, you do need to modify the connection code in your software to connect to the proxy instead of the target server.