Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-585

SFTP - FileListSelection, support path transformation for host running OpenSSH on Windows

    XMLWordPrintable

Details

    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
      • Use an YADE configuration with the operation Copy and SourceFileOptions/Selection/FileListSelection/FileList=C:/YADE/my_list.txt

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: