SCP-Task mistakenly trying to create remote directories for files

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Handled by Support
    • None
    • Component/s: SCP and SSH tasks
    • None

      We have some instances where the SCP-Task tries to create a remote directory named after the file that should've been uploaded.

      E.g. we tried uploading a file "main.min.js", which resulted in:
      "Creating remote directory 'dist/js/main.min.js'..
      [...]
      Copy Failed. Some files were not uploaded successfully.
      'dist/js/main.min.js' was not uploaded."

      First assumption was a problem with files containing a dot in the filename itself. But we also have files like this, which are uploaded successfully.

      One interesting differentiation for the "main.min.js"-case is the fact that we have files in the same directory called "main.min.js.src" and "main.min.js.map". Could this be related?

      In another instance of this problem, we had a file called "name_of_file.pdf" which was sitting alongside a file "name_of_file.pdf_old". Which, too, resulted in this error.

      We are using "Atlassian Bamboo version 4.4.4 build 3506" and "Bamboo SCP and SSH Tasks Version: 1.18"

            Assignee:
            Marek Went (Inactive)
            Reporter:
            Jonas Ulrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: