Here are some sample methods, as noted in the comment, I am using CharTerminatedInputStream under the Apache license. The URL that he sees is also in the comment.
private static final int BUFFER_SIZE = 4096; private static final char[] TERMINATOR = new char[]{'\r', '\n', '\r', '\n'}; private static void downloadFileOverSSL(String host, int port, String file, OutputStream fileOut) throws Exception { PrintWriter socketOut = null; InputStream socketIn = null; try {
CrackerJack9
source share