cURL / Mailing Lists / curl-library / Single Mail


Re: How can I know if a remote directory exists?

From: Daniel Stenberg <>
Date: Fri, 11 Oct 2002 14:28:35 +0200 (MET DST)

On Fri, 11 Oct 2002, Guido Reina wrote:

> If the directory exists, curl_easy_perform returns CURLE_FTP_QUOTE_ERROR
> when trying to create a remote directory ("MKD dir1"), how can I know that
> the directory really exists and it isn't due to any other error?

Well, libcurl is not a complete API to everything you can do with ftp.

Try listing the directory first perhaps.

 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
This email is sponsored by:ThinkGeek
Welcome to geek heaven.
Received on 2002-10-11