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

FilePathSelection and FileListSelection should create the folder structure in the target system

    XMLWordPrintable

Details

    Description

      Current Situation

      • When using the JITL SourceFileOptions->Selection->FileListSelection then
        • all source files are transferred to the same destination directory
          • no sub-directories are created in the target system for sub-directories in the source system.
          • the files with the same name from different sub-directories are overwritten in the target system.

      Desired Behavior

      • It should be possible to define how the files should be transfered
        • flat in one Target folder or by creating the same sub-directories in the target system as from the source system.
      • Test Instructions
        • Configure a YADE file transfer
          • Test 1: Use FileListSelection without Recursive and Directory
            • In the FileList file, specify the paths of the different directories, for example
              /home/sos/data/1.txt
              /home/sos/data/subfolder1/1.txt
              /home/sos/data/subfolder1/subsubfolder1/1.txt
              • Expected result: only one file 1.txt will be transferred
          • Test 2: Use FileListSelection and the same FileList File as in Test 1 but with Recursive=true and without Directory
            • Expected result: the same sub-directories should be created in the target directory as in the source system
              <Target Directory>/home/sos/data/1.txt
              <Target Directory>/home/sos/data/subfolder1/1.txt
              ...
          • Test 3: Use FileListSelection with Recursive=true and Directory=/home/sos/data
            • In the FileList file, specify the paths of the different directories, for example
              /home/sos/data/1.txt
              /home/sos/data/subfolder1/1.txt
              /home/sos/2.txt
              • Expected result:
                <Target Directory>/1.txt
                <Target Directory>/subfolder1/1.txt
                <Target Directory>/2.txt
                
          • Test 4: Repeat the Tests for FilePathSelection
            • Use Recursive=true with/without Directory
          • Repeat the Tests for all Providers

       

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Pramokshi Narawariya Pramokshi Narawariya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: