[Gambas-user] Help for gb.web.gui
Safiur Rahman
isafiur at gmail.com
Mon Aug 8 09:48:59 CEST 2022
Hi
What I have been doing is to send the file to the root folder of the web
server. Then you can download it easily.
E.g. in ubuntu
$ sudo mkdir /var/www/html/docs
$ sudo chmod -R a+rwx /var/www/html/docs
Then copy to the folder
Copy <source file> To "/var/www/html/docs" & File.Name(<source file>)
Then you can download using window.Open
WebForm.Exec("window.open('http://localhost/docs/" &/ File.Name(<source
file>) & "'); ")
--
Regards
Safiur Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220808/4dca1ac5/attachment.htm>
More information about the User
mailing list