COS-General

How are File Manager URLs structured?

Last updated: December 7, 2015

All new files uploaded to File Manager can either be accessed via a generic Content Delivery Network URL or a custom connected domain URL.

Here is an example of a generic CDN URL:
http://cdn2.hubspot.net/hubfs/158015/my-image.jpg

Here is an example of a connected domain URL:
http://knowledge.hubspot.com/hubfs/my-image.jpg

The generic CDN URL included the Hub ID in the file path (158015 in the example above). When you upload a file to a folder, the asset will be hosted in a relative directory. For example, if you uploaded my-image.jpg to a folder entitled "photos", the file would be hosted within that subdirectory:
http://knowledge.hubspot.com/hubfs/photos/my-image.jpg

Please note that older files are hosted on an older URL structure that does not support relative URL paths. Uploading the file as a new file will host the asset on the URL structure described above.