I have a artifact which is accessible as URL and would like to deploy to artifactory.
As per the site https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API
we can use a local file to deloy with parameter -T as below
deploy the file 'myNewFile.txt', which is located in your Desktop directory, ('~/Desktop/myNewFile.txt')
curl -u myUser:myP455w0rd! -X PUT "http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt" -T Desktop/myNewFile.txt
However, am not able to find a mechanism to deploy a URL based file
Any workaround or alternatives please