Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Protocol FTPES not supported or disabled in libcurlFile upload error

Discussion in 'General Discussion' started by linux-tech, Aug 27, 2016.

Tags:
  1. linux-tech

    linux-tech Member

    Joined:
    Jun 15, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,212
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. linux-tech

    linux-tech Member

    Joined:
    Jun 15, 2016
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.

     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,212
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice