Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Error in SCP Task : from Windows Bamboo Agent to Windows Remote Server

I would like to know the format of the destination path name to be filled in Remote Path field in SCP Task for a file transfer from Windows Bamboo Agent Machine to Windows Remote Machine. There seems to be no documentation or tutorial or QA forum that clarifies this.

Bamboo Version: Bamboo Server 6.8

I am trying to move files and folders from my Bamboo Windows Agent machine's Working directory to a Windows Remote Server using the SCP Task.  I am getting following error. 

E:\DevOpsDir is the full path of the directory in the Windows Remote machine. I have verified that this is a valid path in that remote machine.

This value is entered in the field Remote Path in the SCP Task configuration page.

simple 21-Apr-2020 17:06:34 Uploading 'C:\Users\UserName\bamboo-agent-home\xml-data\build-dir\BambooJOB1\RepoName' to 'E:\DevOpsDir'...

error 21-Apr-2020 17:06:34 Failed to upload E:\DevOpsDir, Remote SCP command had error: scp: 'E:/DevOpsSLBDir': Invalid argument

error 21-Apr-2020 17:06:34 Copy Failed. Some files were not uploaded successfully.


I have tried other options as well in the Remote Path field. All leading to errors mentioned below.

1. Remote Path = /DevOpsDir ( I created a path at C:\Users\UserName\DevOpsDir at windows remote machine).

Error Message: "Path does not exist."

2. Remote Path = UserName@IPAddress:E:\DevOpsDir

Error Message: "Invalid argument"


1 answer

I'm facing the same error, did you resolve the issue?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events