[Gambas-user] FTPClient (gb.net.curl)

Benoît Minisini g4mba5 at gmail.com
Wed Feb 16 00:34:32 CET 2022


Le 15/02/2022 à 21:44, Tobias Boege via User a écrit :
> On Fri, 04 Feb 2022, Benoît Minisini wrote:
>> Le 04/02/2022 à 16:10, Benoît Minisini a écrit :
>>> Le 04/02/2022 à 15:55, Hans Lehmann a écrit :
>>>> Hello,
>>>>
>>>> is it correct that the class FTPClient (gb.net.curl) currently only
>>>> allows *unencrypted* FTP?
>>>>
>>>> With kind regards
>>>>
>>>> Honsek
>>>>
>>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>> Mmm... apparently no.
>>>
>>
>> I mean: I don't see why FtpClient should not allow encrypted Ftp.
>>
> 
> I suppose there is no reason why FtpClient wouldn't be able to use
> everything that libcurl offers, but I don't see how to establish an
> FTP session over TLS (if I'm not mistaken, this is called FTPS) with
> the current gb.net.curl. Could you provide some sample code?
> 
> Best,
> Tobias
> 

Normally, if you specify "ftps://" in the URL, it should work, like when 
you specify "https://" for Http client. 'libcurl' is supposed to make 
all that transparent.

I never tested, as I don't have a "ftps" server anywhere.

Regards,

-- 
Benoît Minisini


More information about the User mailing list