[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:
parent
56b724d64c
commit
01c9cc98d7
1 changed files with 1 additions and 1 deletions
|
@ -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")))
|
||||||
|
|
Loading…
Reference in a new issue