There are some use cases where you want to get the result of a folder from an upstream repository for use in a script or some other tool. The problem with this is that requesting a folder instead of a file will return and cache the HTML output of that location into the remote repository.
Subsequent requests further into that location will cause an issue as now Artifactory has cached a file there when it is actually a folder.
To resolve this issue we will be configuring our repositories in a particular way so that we will be able to resolve both folders and files from an upstream site.
In this article, we will be utilizing Artifactory 7.55.6 and the screenshots that you see will be from this version. The upstream site where we will be demonstrating this use case is “https://releases.hashicorp.com”.