55143681 Posted March 14, 2023 Share Posted March 14, 2023 Dear: In my project a.exe, I set ServerModule->filesFolder=abc\, and In another form ,I call "UniPDFFrame1->PdfURL=UniServerModule()->FilesFolderURL+"/123.pdf" to show a pdf file. the problem is : If i run a.exe,the function works well. the function will link to "abc\123.pdf". but : If i run hyper-server.exe to call a.exe,the function works abnomal,the function will link to "files\123.pdf". that is say: I should set something to hyper-server.cfg to change the fileUrl to "abc",How to do that? Quote Link to comment Share on other sites More sharing options...
55143681 Posted March 15, 2023 Author Share Posted March 15, 2023 10 hours ago, 55143681 said: Dear: In my project a.exe, I set ServerModule->filesFolder=abc\, and In another form ,I call "UniPDFFrame1->PdfURL=UniServerModule()->FilesFolderURL+"/123.pdf" to show a pdf file. the problem is : If i run a.exe,the function works well. the function will link to "abc\123.pdf". but : If i run hyper-server.exe to call a.exe,the function works abnomal,the function will link to "files\123.pdf". that is say: I should set something to hyper-server.cfg to change the fileUrl to "abc",How to do that? Dear Sherzod: Can you help me? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 15, 2023 Administrators Share Posted March 15, 2023 Yes, I can confirm it. HyperServer doesn't recognize non-standard FilesFolder property. The only solution is to use standard "Files" folder ans use sub-folders for different file groups. Such as "files\abc". Quote Link to comment Share on other sites More sharing options...
55143681 Posted March 17, 2023 Author Share Posted March 17, 2023 On 3/15/2023 at 10:25 PM, Farshad Mohajeri said: Yes, I can confirm it. HyperServer doesn't recognize non-standard FilesFolder property. The only solution is to use standard "Files" folder ans use sub-folders for different file groups. Such as "files\abc". Thank you very much. I See. 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.