I am facing the issue that
the artifact are stored in download section of one repository, i want to move the .zip from my first repository to second repository.
How it is possible.
Curl command is not working for me
G'day, @Muhammad Seemab Akhlas
Welcome to the community!
If I understand this correctly, you wanted to transfer a zip file residing on repository A to repository B via Curl? If yes, I believe this is not possible, you have to download the zip files from repository A and manually upload them to repository B via the UI or the following curl commands example:
curl -u username:app_password -X POST https://api.bitbucket.org/2.0/repositories/<workspace>/<repository_name>/src -F repo-filename.ext=@local-filename.ext
I hope this helps
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.