[Gambas-user] File Downloading

Benoît Minisini g4mba5 at gmail.com
Thu Mar 1 22:54:17 CET 2018


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?

-- 
Benoît Minisini


More information about the User mailing list