I have to get the MD5 checksum from the artifactory link:
www.artifactory_company_link/artifactory/webapp/#/artifacts/browse/tree/General/abc.html
I have tried CURL -I artifactory_link. But didn't get the MD5 checksum.
To get the MD5 checksum from command line, you need to use the Artifactory File Info REST API.
So the proper way to get your file's MD5 checksum would be (assuming the General
repository here)
curl -s -u<user>:<password> www.artifactory_company_link/artifactory/api/storage/General/abc.html
This will output a big json output of the file's info, including its MD5 checksum.
Use jq
to get just the checksum
curl -s -u<user>:<password> www.artifactory_company_link/artifactory/api/storage/General/abc.html | jq ".checksums.md5"