Trainee Posted December 16, 2021 Share Posted December 16, 2021 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. Quote Link to comment Share on other sites More sharing options...
Trainee Posted December 20, 2021 Author Share Posted December 20, 2021 I figured out what I did wrong. Needed Unisession as in the downloaddemo2. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.