// verify connection was successful
if(FTPReply.isPositiveCompletion(ftp.getReplyCode())) {
System.out.println("ftp.setFileType(FTP.BINARY_FILE_TYPE)");
ftp.setFileType(FTP.BINARY_FILE_TYPE);
System.out.println("ftp.enterLocalPassiveMode()");
ftp.enterLocalPassiveMode();
// Set protection buffer size (what does this do??)
//ftp.execPBSZ(0);
// Set data channel protection to private
System.out.println("ftp.execPROT(\"P\")");