Protocol FTPES not supported or disabled in libcurlFile upload error

linux-tech

Member
Jun 15, 2016
15
0
1
india
cPanel Access Level
Root Administrator
My customer getting the following error while using ftpes to connect to the server.

Error: Protocol FTPES not supported or disabled in libcurlFile upload error

He used the following script to connect the server

---------------
$options = array(
CURLOPT_CONNECTTIMEOUT => 25,//waiting time, in seconds
CURLOPT_PORT => FTP_PORT,
CURLOPT_URL =>'FTPES://'.FTP_HOST.'/'.FTP_FILENAME,
CURLOPT_USERPWD => FTP_USER.':'.FTP_PASS,
CURLOPT_UPLOAD => 1,
CURLOPT_INFILE => $fp,
CURLOPT_INFILESIZE => filesize($meta['uri']),
CURLOPT_TRANSFERTEXT => true,
);


Please help
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Could you let us know what's configured for "TLS Encryption Support" in "WHM >> FTP Server Configuration"? Also, are you able to reproduce the issue with additional accounts in FTP clients such as Filezilla?

Thank you.
 

linux-tech

Member
Jun 15, 2016
15
0
1
india
cPanel Access Level
Root Administrator
Hello Michael,

TLS Encryption is set to "Required ( Command/Data)".

>>> Also, are you able to reproduce the issue with additional accounts in FTP clients such as Filezilla?
We have disabled plain text login, so main cPanel user only has the ftp access.

Hello,

Could you let us know what's configured for "TLS Encryption Support" in "WHM >> FTP Server Configuration"? Also, are you able to reproduce the issue with additional accounts in FTP clients such as Filezilla?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

I've seen cases where this happens because the passive port range for FTP is blocked by a firewall rule. Could you review our Passive FTP document and let us know the issue continues? Also, please try using a different FTP client to verify the issue isn't isolated to that custom script.

Thank you.
 
Thread starter Similar threads Forum Replies Date
W File Management 2