cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Ftp upload failure with 7.10.8

From: Moshe Livne (Leibovitch) <moshe_at_softlink.com>
Date: Wed, 3 Dec 2003 15:50:23 +0200

Sorry about the wrong newsgroup, and thanks - it worked. I would think that
a proper error message that the readfunction was not set will be better than
access violation.

Thanks again!
Moshe

-----Original Message-----
From: Daniel Stenberg [mailto:daniel-curl_at_haxx.se]
Sent: ? 03 ????? 2003 15:40
To: Curl Mailinglist
Cc: libcurl Mailing list
Subject: Re: Ftp upload failure with 7.10.8

On Wed, 3 Dec 2003, Moshe Livne (Leibovitch) wrote:

I recommend taking libcurl programming and similar issues over to the
curl-library mailing list instead!

> Hi all,
>
> I have downloaded the zip from the site, compiled it in vc6 using the
> dsw provided, took the ftp, used the source from
> http://curl.haxx.se/lxr/source/docs/examples/ftpupload.c, modified
> slightly to include CURLOPT_USERPWD, run it and got access violation.
> Following is

I take it you're using a DLL on Windows? If so, then read this:

        http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTREADDATA

Failing to follow that 'MUST' causes an access violation.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/  [[ Do
not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this five minute
survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
Received on 2003-12-03