cURL / Mailing Lists / curl-library / Single Mail


Re: compilation errors for CURLOPT_USERNAME and CURLOPT_PASSWORD on Fedora 10

From: Dan Fandrich <>
Date: Fri, 29 Jul 2011 14:40:49 -0700

On Sat, Jul 30, 2011 at 02:14:58AM +0530, Arun venkatesh wrote:
> im using the default curl that came with the fedora 10 package. the
> version seems to be libcurl-devel-7.18.2
> im using curl lib to remote ftp connect.
> however, for CURLOPT_USERNAME and CURLOPT_PASSWORD, the compiler is
> giving me "not declared in this scope" error.
> can any one suggest if there is an alternative for the above tags in
> the existing version? or do i need to upgrade to latest??

According to
those symbols were only added in version 7.19.1. Before then, you can
use CURLOPT_USERPWD instead.

>>> Dan
List admin:
Received on 2011-07-29