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
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