cURL / Mailing Lists / curl-library / Single Mail


Access denied error while get/put

From: nithesh salian <>
Date: Tue, 5 Jul 2011 14:54:15 +0530


 While getting/putting file(s) from/to a pure-ftp server, I am getting a
error message stating CURLE_FTP_ACCESS_DENIED.

 I set CURLOPT_FTP_FILEMETHOD as suggested in one of posts to
and everything started working fine.

 The description of CURLFTPMETHOD_MULTICWD(see below) states that it is the
default behaviour. I was not setting anything before. Did libcurl use some
other option instead of CURLFTPMETHOD_MULTICWD as a default option? Should
I explicitly use this option in my code to get rid of this error? Please let
me know.


libcurl does a single CWD operation for each path part in the given URL. For
deep hierarchies this means many commands. This is how RFC
 says it should be done. This is the default but the slowest behavior."

Nithesh Gangadhar Salian

List admin:
Received on 2011-07-05