title: Using FTP Proxy with apache commons-net
body: <p>I want to set up an FTP connection using a proxy server with Apache's commons-net.</p>
  
  <p>But looking at this <a href="http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions" rel="nofollow noreferrer">Does FTPClient support FTP connections through an FTP proxy server?</a> has me worried.</p>
  
  <p>I have to meddle with the system properties and the Sun docs state that "If <em>socksProxyHost</em> is specified then all TCP sockets will use the SOCKS proxy server to establish a connection or accept one."<br>
  WTH? All TCP sockets? What about my database connections? Or other FTP connections i might want to open at the same time not using a proxy? Will they all be affected?</p>
  
  <p>Is there some other way to do it that doesn't mess with the rest of my application?</p>