this.getLogger().debug("..ftp server reply [passive]: " + ftpClient.getReplyString());
}
}
if (transferMode.equalsIgnoreCase("ascii")) {
if (sosftp.ascii()) {
this.getLogger().debug("..using ASCII mode for file transfer");
this.getLogger().debug("..ftp server reply [ascii]: " + ftpClient.getReplyString());
}
else {
throw new Exception(".. could not switch to ASCII mode for file transfer ..ftp server reply [ascii]: " + ftpClient.getReplyString());