Skip to content

libcurl does not recognize protocol FTPES #25

Closed
@quarcko

Description

@quarcko

Hi,

Maybe it is my system problem, but on ubuntu 16.04 with
libcurl4-gnutls-dev (7.47.0-1ubuntu2.19)
it fails to connect with FTPES type of server throwing an error:
"[FTPClient][Error] Unable to connect to remote folder / (Error = 1 | Unsupported protocol)."

But there is a fix for this, when connecting to FTPES server, you don't need to specify "ftpes://"
but just a regular "ftp://" instead.

change on line 206:
case FTP_PROTOCOL::FTPES: strURL = "ftp://" + strURL; //libcurl does not recognize 'ftpes' it should be just 'ftp'! break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions