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

gian bagoneo at libero.it
Tue Aug 9 09:34:18 CEST 2022


Il 09/08/22 07:16, Safiur Rahman ha scritto:
> I think this example might help you
> 
> On Mon, Aug 8, 2022 at 1:33 PM Safiur Rahman <isafiur at gmail.com 
> <mailto: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/
>     <http://localhost/docs/>" &/ File.Name(<source file>) & "'); ")
> 
>     -- 
>     Regards
>     Safiur Rahman
> 
> 
> 
> -- 
> Regards
> Safiur Rahman

Hi Safiur,

Cool. It works :-)
I'll go right away to communicate this to our friend.

Thank you very much for your helpfulness

Regards
Gianluigi


More information about the User mailing list