I had a look at downloaddemo and was trying to replicate that.
I placed a PDF in a temp, local and files folder, as similar in the downloaddemo.
vName := 'technisch_ontwerp_v001.pdf';
FLabel.Caption := '<a href="'+UniServerModule.TempFolderURL+vName+'" target=new>Click here to download: ('+vName+')</a>';
The URI becomes as such localhost:
localhost:8077/temp/technisch_ontwerp_v001.pdf
I tried all three locations. For some reason I keep getting an error file not found. Is this a trial limitation, or something else I'm doing wrong?
I also tried rightclicking the link and download, but I get the error file not there.
Many thanks.