[Gambas-user] Send file to client using gb.web.gui

Mayost Sharon sharon at 455.co.il
Thu Dec 17 12:26:03 CET 2020


How to send a file to a client using gb.web.gui
I saw that there are:
Response.SendFile ("my_file.pdf", "application / pdf")

It freezes the page and does not send the file.

I tried running the command using gb.web
And it displays all the characters of the PDF file on the client page
I want the client to download the file to  computer.

Thank you

More information about the User mailing list