[Gambas-user] File Downloading

T Lee Davidson t.lee.davidson at gmail.com
Thu Mar 1 23:33:18 CET 2018


On 03/01/2018 04:54 PM, Benoît Minisini wrote:
> Le 01/03/2018 à 22:18, Benoît Minisini a écrit :
>> Le 01/03/2018 à 21:32, T Lee Davidson a écrit :
>>> On 02/28/2018 08:10 PM, Shannon Kuchler wrote:
>>>> Total noobie here
>>>>
>>>>
>>>> I have searched and searched and can't seem to figure this out
>>>>
>>>> I simply need to download a file
>>>>
>>>>
>>>> The problem is this code works when it feels like it. When it works it works great. When it doesn't work it just creates the
>>>> temp.zip and does nothing.
>>>>
>>>> It doesn't raise an error so I don't know what's going on.
>>>>
>>>>
>>>> On top of that I can't get it to download if the url is redirected
>>>>
>>> [snip]
>>>
>>> HttpClient does not handle redirects automatically.
>> Maybe I should support the automatic redirection option of libcurl?
>>
> 
> I added automatic redirection support in commit https://gitlab.com/gambas/gambas/commit/3f2838c60971455a560f1cfa613eeff2e3bc9929
> 
> But I didn't test it. Can someone test that for us?
> 

I can test as soon as the latest commit is built for the unstable openSUSE OBS repo to which I subscribe. In the meantime, does
the documentation need to be refreshed?


-- 
Lee


More information about the User mailing list