Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- If a Target Fragment is an FTPSFragment and the TargetFileOptions->KeepModificationDate option is set to true when:
- a ClassCastException is thrown
[<number>][transfer_aborted][Source=<file_path>]java.lang.ClassCastException: com.sos.vfs.ftp.SOSFTPS cannot be cast to com.sos.vfs.ftp.SOSFTP
- TransferOptions->Transactional
- true - the entire transfer is cancelled - no files are transferred.
- false - the files are transferred, but without keeping the modification time of the source file.
- a ClassCastException is thrown
Desired Behaviour
- The functionality of YADE should not be affected by the implementation errors.
Test Instructions
- Configure an FTPSFragment as Target Fragment
- Test with TargetFileOptions->KeepModificationDate true or false
- Repeat the tests with an FTPFragment as Target Fragment