Artifactory: Invoke-Webrequest returns invalid data

JFrog Support
2021-08-30 19:06

Use Case:
Invalid data returned when using a web client to fetch data from Artifactory.

Native browser redirect prevents windows Power Shell (Invoke-WebRequest command) from downloading a file. Instead of fetching artifact, a page (html) is returned instead.

1. Set the flag below to false at –, By default this value is located in:

Please do well to verify this is a test environment and if the issue persists, open a ticket and attach the support bundle.

2. This issue has been noted and addressed in newer versions of Artifactory so upgrading addresses this as well.