Uploaded image for project: 'YADE - Managed File Transfer'
  1. YADE - Managed File Transfer
  2. YADE-644

Transfer using Jump-Host will fail for "From Internet" when 0 files found

    XMLWordPrintable

Details

    Description

      Current Situation

      • If YADE is configured to use the "From Internet" direction (Source on another network -> Jump -> Target) and the selection from the Source on another network returns no files, the transfer will fail with the exception:
         com.sos.commons.vfs.exceptions.ProviderException: [selectFiles][Jump][<jump_dir>/yade-dmz-<uuid>/data]net.schmizz.sshj.sftp.SFTPException: No such file
      • Cause
        • YADE creates the following subfolders on the Jump-Host in the YADE temporary working directory:
          • config
            • This subfolder is automatically created on each run and serves as storage for temporary configurations, e.g., settings.xml.
          • data
            • This subfolder contains the transferred files and is automatically created only when at least one file is available for transfer.
            • If no files are found, the exception described above occurs because the data directory does not exist.

      Desired Behavior

      • No errors should occur when the file selection returns 0 files.
      • To achieve this, all required transfer subfolders (config, data) should be created automatically when a transfer starts, regardless of whether the later file selection returns files.

      Patch

      • Use the cumulative patch provided with YADE-642.

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Rajrani Upadhyay Rajrani Upadhyay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: