diff --git a/libraries/CTP.jar b/libraries/CTP.jar index b807bed0..89f2da72 100644 Binary files a/libraries/CTP.jar and b/libraries/CTP.jar differ diff --git a/products/CTP-installer.jar b/products/CTP-installer.jar index 95cd14b5..fa105d73 100644 Binary files a/products/CTP-installer.jar and b/products/CTP-installer.jar differ diff --git a/source/java/org/rsna/ctp/stdstages/DicomPaletteImageConverter.java b/source/java/org/rsna/ctp/stdstages/DicomPaletteImageConverter.java index 80ec3f25..9fb73d1d 100644 --- a/source/java/org/rsna/ctp/stdstages/DicomPaletteImageConverter.java +++ b/source/java/org/rsna/ctp/stdstages/DicomPaletteImageConverter.java @@ -39,7 +39,7 @@ public DicomPaletteImageConverter(Element element) { * Process a DicomObject, logging the filename and returning the processed object. * If the object is not a DicomObject, pass the object unmodified. * If the object is not an image, pass the object unmodified. - * If the object does not have PhotometricInterpretation PALETTE COLOR, pass the object unmodified. + * If the object does not have PhotometricInterpretation PALETTE COLOR, pass the object unmodified. * @param fileObject the object to process. * @return the processed FileObject. */ @@ -72,4 +72,4 @@ else if (status.isQUARANTINE()) { return fileObject; } -} \ No newline at end of file +} diff --git a/source/java/org/rsna/ctp/stdstages/FtpsExportService.java b/source/java/org/rsna/ctp/stdstages/FtpsExportService.java index fcfcdf02..bd7207dd 100644 --- a/source/java/org/rsna/ctp/stdstages/FtpsExportService.java +++ b/source/java/org/rsna/ctp/stdstages/FtpsExportService.java @@ -101,13 +101,13 @@ private Status send(FileObject fileObject) { client.connect(host, port); int reply = client.getReplyCode(); if (FTPReply.isPositiveCompletion(reply)) { - client.setFileType(FTP.BINARY_FILE_TYPE); //Login if (client.login(username, password)) { client.execPBSZ(0); // Set protection buffer size client.execPROT("P"); // Set data channel protection to private client.enterLocalPassiveMode(); + client.setFileType(FTP.BINARY_FILE_TYPE); //Change to the remote directory if (cd(client, remoteDirPath) ) {