04-19-2013, 06:36 PM
Had a question on curl command
How do I set property of a file after/during uploading on a url link
Below is what am using, it does set the property but just uploads the file.
/usr/bin/curl -X PUT --data-binary @</filePath/file> -u <user>:<password> -ihttp://XXXX.com:8081/artifactory/jsvnkit/content_files/n01.jpg?properties=Retention_Policy=ENG_002_5_YEARS
Please someone help me
How do I set property of a file after/during uploading on a url link
Below is what am using, it does set the property but just uploads the file.
/usr/bin/curl -X PUT --data-binary @</filePath/file> -u <user>:<password> -ihttp://XXXX.com:8081/artifactory/jsvnkit/content_files/n01.jpg?properties=Retention_Policy=ENG_002_5_YEARS
Please someone help me