ARTIFACTORY: Why the Debian remote repository showing its content as files instead of folders in Artifactory

AuthorFullName__c
Janardhana JL
articleNumber
000006012
FirstPublishedDate
2024-01-29T14:23:42Z
lastModifiedDate
2025-07-22

ARTIFACTORY: Why the Debian remote repository showing its content as files instead of folders in Artifactory

When we create a default Debian remote repo in Artifactory pointing to “http://archive.ubuntu.com/ubuntu/” it can determine folder structure as expected.

User-added image

However in certain cases when we create a debian repository pointing to a different remote upstream it lists its contents as files instead of folders.

For example when we pointing the Debian remote repositories:
https://repos.influxdata.com/ubuntu/
https://packages.cloud.google.com/apt/

User-added imageUser-added image


The reason behind this behavior is Artifactory parses that html and determines if it’s file or directory by presence of a ‘/’ at the end of path. These registries don't have ‘/’ at the end hence entries are treated as files.

For example:

header>

      <h1>

        <a href="/ubuntu">InfluxData - Package Repository</a>

      </h1>

    </header>

However we do have an Improvement JIRA request for this issue RTFACT-29865 .