I have a test repository of Generic type in Artifactory which holds some zip files. I would like to download those packages using the conan.
I have added that remote succesully.
conan remote add conan-af https://artifactory.domain.dev/artifactory/api/conan/test
With conan remote set-auth I have done the login as well.
Now I have folder and file in that repo: components/FA/fa.zip
As I saw with conan install --requires I will not be able to download non-conan package? Am I wrong???
So I tried option conan download
conan download -r conan-af https://artifactory.domain.dev/artifactory/api/conan/test/components/FA/fa.zip
Error: ERROR: 404: Repo 'test' was not found. [Remote: conan-af]
While if I paste the same URL in browser, or use curl, my file is being downloaded automatically
How I can download it or install it using conan?
The
conan remote addor Conan remotes in general only work with Conan repositories, not generic ones. You need to configure a Conan repository in your server and then pass the URL to it in theconan remote add myrepo <url>(note this URL in case of Artifactory is provided by the SetMeUp, it is not the browser URL)