Could you please help me with below query, API call for JFrog Artifactory to check whether a file exists or not using cURL.
Thanks in advance.
CodePudding user response:
You can use something like this:
curl {ArtifactoryURL}/artifactory/api/storage/{repoKey}/{filePath}
Please refer to this API doc here: https://www.jfrog.com/confluence/display/JFROG/Artifactory REST API#ArtifactoryRESTAPI-FileInfo