Home > Blockchain >  cURL command to check file exists or not in JFrog Artifactory
cURL command to check file exists or not in JFrog Artifactory

Time:09-24

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

  • Related