[GB.NET.CURL]

* NEW: FtpClient: Allow 'ftps' protocol.


git-svn-id: svn://localhost/gambas/trunk@7881 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-08-31 10:35:57 +00:00
parent 56b724d64c
commit 01c9cc98d7

View file

@ -551,7 +551,7 @@ BEGIN_PROPERTY(Curl_URL)
if (GB.Is(THIS, GB.FindClass("FtpClient"))) if (GB.Is(THIS, GB.FindClass("FtpClient")))
{ {
protocol = CURL_get_protocol(url, "ftp://"); protocol = CURL_get_protocol(url, "ftp://");
if (strcmp(protocol, "ftp://")) if (strcmp(protocol, "ftp://") && strcmp(protocol, "ftps://"))
goto UNKNOWN_PROTOCOL; goto UNKNOWN_PROTOCOL;
} }
else if (GB.Is(THIS, GB.FindClass("HttpClient"))) else if (GB.Is(THIS, GB.FindClass("HttpClient")))