Forum Discussion
Rajesh_Swamy
Oct 13, 2023Copper Contributor
How to copy a specific file from Source folder to Target folder by using pipeline
In our Azure Repos we have a source folder with multiple files but I want to copy a single file from the source folder to target the folder on the destination server.
For this we used release pipeline and copy file task at the folder level it was successful and copied all the content of the folder to the destination server.
Tried the same(release pipeline and copy file task) to copy a single file form the source folder to the destination server. The release pipeline status was successful, but the required file not copied to the server.
So please let us know, Is there any way to copy a single file form source folder to target folder
- mohammedmubeenCopper Contributorcheck if both the source and target folders,use wildcard patterns to specify the files you want to copy, check agents for permissions , Check logs