curl-library
Re: doing ftp within a java program using libcurl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 8 Feb 2006 23:22:29 +0100 (CET)
Date: Wed, 8 Feb 2006 23:22:29 +0100 (CET)
On Wed, 8 Feb 2006, alex picardo wrote:
> The cg.perform() statement below seems to return a value of 1 instead of 0
> for some reason.
curl_easy_perform() return codes are listed in the libcurl-errors man page. It
says 1 is CURLE_UNSUPPORTED_PROTOCOL.
Are you possibly using a libcurl built without FTP support?
> cg.setopt(CURL.OPT_VERBOSE, 3);
Verbose is only non-zero or zero, there are no other levels. And you don't get
any verbose output from this?
What libcurl version are you using by the way?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-02-08