Is it possible to change the current sourcecode so I can use FTPS?:
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))>=0) {
out.write(buffer, 0, r);
}
in.close();
out.close();
Is it possible without any additional libraries or if not, which library suits best?