Hello. I'm referencing this page's instructions for linking to a downloadable PDF but so far it's not going as it should do. https://help.siteglide.com/en/articles/3711284-faq-how-can-i-link-to-a-download-using-the-direct-url
As instructed on the link, when I select the Download button to get the URL of the PDF to download, the file downloads to my Downloads folder, so I can't get the download URL I need. And when I use either the Copy Direct URL button or the Copy Asset button and paste that the result is not what I want either, the link opens up a page showing an XML error as shown in the attached screenshot.
The other screenshot shows that the link is correct, so should be working.
Further to this, I have discovered that if having pasted the Direct URL to the link and then I edit the link so that URL goes from https://uploads.staging.oregon.platform-os.com/instances/5388/assets/pdf/SAT_2017-02-18_22(1).pdf?updated=1619711814000
to href="/assets/pdf/NZG Nov 2018.pdf", sometimes it works, but it is inconsistent.
Can anybody tell me what I'm doing wrong or is this a bug?
Cheers
Grant


Ok, I found out what the problem was. A lot of the PDFs being linked to had gaps in their names, seems that was causing issues. Renaming them with a hyphen between each word appears to have fixed this.
Good.
Hi Grant,
I'm glad you've found the issue and changed your file names to include hyphens to remedy this.
This is a known bug and a similar report has been added to our roadmap, which you can add your vote to - https://roadmap.siteglide.com/bugs/p/images-spaces-in-file-name-within-rich-text-editors
Thanks!