The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    13
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. linux-tech

    linux-tech Member

    Joined:
    Jun 15, 2016
    Messages:
    13
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     

Share This Page