Learn how to get the direct link for a file hosted on the file manager.
- In your HubSpot account, navigate to Marketing > Files and Templates > Files.
- Locate the file you want to share and click the file name.
- In the pane that appears on the right, click Copy URL in the File URL section to copy the link to your clipboard.
Most modern browsers will open links to PDF files in a new browser tab or window, as opposed to downloading the file to the visitor's computer. Whether the file opens in the browser or downloads automatically depends on the visitor's web browser and its settings.
There isn't a way to force the file to download without using server-side script, which isn't supported in the file manager tool. You may consider packaging your file in a .zip file, which prompts an automatic download on most browsers.