cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How get fils's list from user root dir. (FTPS)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Oct 2005 14:05:30 +0200 (CEST)

On Fri, 28 Oct 2005, Shogin Michael wrote:

> I want to get files's lits.

> res = CURLE_FTP_WRITE_ERROR 20

Use the CURLOPT_ERRORBUFFER option as well, it really helps.

The only place this error code is used within the FTP code is when the server
responded with something that wasn't a 226 or 250 code after the transfer was
completed. (Yes it is a weird error number to use for that case.)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-10-28