I use SpiderBite and CGI for server client communication. This works very well.
Now I don't want to return text/JSON via CGI, but a binary file. I send them:
Code: Select all
WriteCGIHeader (#PB_CGI_HeaderContentType,"application/octet, -stream")
WriteCGIData (*mem, size)
But how do this with SpiderBasic? If I want to start the download after a gadget click, nothing happens.
The browser receives the data, but does not open the Save File dialog.
Ciao Dirk