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

Facing Problem with SCP task

Manjunath_MR July 16, 2020

Hello Everyone,

While copying the files from the BAMBOO server to a remote path, I am facing the problem.

Below mentioned is my configuration in SCP.

Source Path (Windows Server/Bamboo Server) : FolderA/FolderB/FolderC/**/*    

Target Path: FolderDestination


My aim is to copy all the folders and files as is present within the Folder C.


The above pattern works fine when I have the below-mentioned structure. 


                                       => SubFolderA/ <Followed Files>

                                       => SubFolderB/<Followed Files>


When the SCP task is executed it creates the above-mentioned structure as is within the 



But, it fails to work, with the below-mentioned structure. 


                                       => SubFolderA/ <Followed Files>

In this case, files that are present within the SubFolderA are directly copied to FolderDestination without any parent folder being created.


Please correct me if there is any pattern mistake in my Source Path.


0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events