You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
The text was updated successfully, but these errors were encountered:
I unit tested FTP and SFTP but still didn't test FTPS or FTPES (I added Issue #23 to test them, I will unit test FTPS with Cerberus FTP Server 11 or maybe FileZilla Server too).
So you can do this (remove the FTPES case before and add the FTPES case below the FTP one) and send a pull request I will merge it :
case FTP_PROTOCOL::FTP:
case FTP_PROTOCOL::FTPES:
default:
strURL = "ftp://" + strURL;
break;
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;
The text was updated successfully, but these errors were encountered: