[Gambas-user] Help for gb.web.gui

Safiur Rahman isafiur at gmail.com
Tue Aug 9 07:16:37 CEST 2022


I think this example might help you

On Mon, Aug 8, 2022 at 1:33 PM Safiur Rahman <isafiur at gmail.com> wrote:

> 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
>


-- 
Regards
Safiur Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220809/2bf7954e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: download.zip
Type: application/zip
Size: 15435 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220809/2bf7954e/attachment-0001.zip>


More information about the User mailing list