cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Downloading & saving a file in vbnet.

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 4 Jul 2007 12:11:39 -0500

On 7/4/07, Allen Pulsifer <pulsifer3_at_comcast.net> wrote:

> In order to use CURLOPT_WRITEDATA, you need to first open
> the file using a VBNet function that returns a C-compatible file
> handle...
> You might in the end decide its simply easier to open and write
> the file yourself using the CURLOPT_WRITEFUNCTION.

Also, from the man page for CURLOPT_WRITEDATA:

  "If you're using libcurl as a win32 DLL, you MUST use the
   CURLOPT_WRITEFUNCTION if you set this option or
   you will experience crashes."

 - Jeff
Received on 2007-07-04