Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I upload files to the root level of my repo? #618

Open
dza89 opened this issue Jul 27, 2022 · 0 comments
Open

How do I upload files to the root level of my repo? #618

dza89 opened this issue Jul 27, 2022 · 0 comments
Labels
question Further information is requested

Comments

@dza89
Copy link

dza89 commented Jul 27, 2022

I have a file which sits which is located at /artifactory/himom.file

I'm using the following parameters to upload my file:

params := services.NewUploadParams()
params.Target = "myawesomerepo/"
params.Pattern = "/artifactory/himom.file"
params.IncludeDirs = false
params.Flat = true

The file ends up at artifactory.com/myawesomerepo/artifactory/himom.file
But I need the file to be at artifactory.com/myawesomerepo/himom.file

I have no idea what parameter to flip to get it there though. I would expect it to be one of the ones I use but both don't have any effect.

@dza89 dza89 added the question Further information is requested label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant