We've got some files stored as documents, which apparently predate notes and attachments, or were used in parallel to them. I'm trying to allow a download of this from a LWC. I've tried like every permutation of the servlet URL and I can't find one that results in a download. Just keep getting invalid page. I've given read access to the document object on the profile.
Here's what I've tried
/communityName/servlet/servlet.FileDownload?file=documentid
/communityName/s/servlet/servlet.FileDownload?file=documentid
/communityName/sfc/servlet/servlet.FileDownload?file=documentid
/communityName/sfsites/servlet/servlet.FileDownload?file=documentid
Anyone run into this kind of thing before? Do I need to upload these as contentDocuments? There's thousands and I'd prefer not to.