Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13
-
None
Description
Current Situation
- when a file list file contains entries with a leading slash as e.g. /C:/tmp/file1.txt, processing is aborted with the following error:
error while reading 'C:/YADE/my_list.txt': java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/tmp/file1.txt (Illegal char <:> at index 2: /C:/tmp/file1.txt)
Desired Behaviour
- The processing of the file list entries with the openSSH specific file path should work correctly.
Test Instructions
- Use the OpenSSH server on Windows.
- Create a file list file with entries with a leading slash, e.g.:
- C:/YADE/my_list.txt
/C:/tmp/file1.txt /C:/tmp/file2.txt
- C:/YADE/my_list.txt
- Use an YADE configuration with the operation Copy and SourceFileOptions/Selection/FileListSelection/FileList=C:/YADE/my_list.txt
Attachments
Issue Links
- is related to
-
YADE-559 SFTP - support path transformation for host running OpenSSH on Windows
- Released