Now when downloading large files for a long time at the destination may not be a complete file. This can lead to various problems.
      To avoid this problem you need to load it under a temporary name and then rename the.

      For example:

      sftp> put bigfile.bin bigfile.bin~tmp123
      sftp> rename bigfile.bin~tmp123 bigfile.bin
      

      Now you need to do:

      • Script to rename a file in the working directory;
      • Upload renamed files by ssh;
      • Using "Exec command" to change cuurent directory to upload directory (JENKINS-12890) and rename files back.

      This workaround looks like ugly

            bap bap
            bozaro Artem V. Navrotskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: