title: URLConnection with FTPS
body: <p>Is it possible to change the current sourcecode so I can use FTPS?:</p>
  
  <pre><code>InputStream in = new URL(url).openStream();
  OutputStream out = new     URL("ftp://"+user+":"+password+"@"+server+""+dir+""+filename_real_string).openConnection().get    OutputStream();
  byte[] buffer = new byte[16384];
  while ((r=in.read(buffer))&gt;=0) {
    out.write(buffer, 0, r);
  }
  in.close();
  out.close(); 
  </code></pre>
  
  <p>Is it possible without any additional libraries or if not, which library suits best?</p>