Jump to content

Hyper-server:can not find the UniServerModule()->FilesFolderURL


55143681

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...