Commit 41084e57 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Added 5.5 the CURLOPT_FILE problem on win32, DeYoung provided it!

parent 9afab851
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
Updated: January 15, 2001 (http://curl.haxx.se/docs/faq.shtml)
Updated: January 22, 2001 (http://curl.haxx.se/docs/faq.shtml)
                                  _   _ ____  _     
                              ___| | | |  _ \| |    
                             / __| | | | |_) | |    
@@ -52,6 +52,7 @@ FAQ
  5.2 How can I receive all data into a large memory chunk?
  5.3 How do I fetch multiple files with libcurl?
  5.4 Does libcurl do Winsock initing on win32 systems?
  5.5 Does CURLOPT_FILE work on win32 ?

 6. License Issues
  6.1 I have a GPL program, can I use the libcurl library?
@@ -472,6 +473,15 @@ FAQ
  use several different libraries and parts, and there's no reason for every
  single library to do this.

  5.5 Does CURLOPT_FILE work on win32 ?

  Yes, but you cannot open a FILE * and pass the pointer to a DLL and have
  that DLL use the FILE *. You must use CURLOPT_WRITEFUNCTION as well to set a
  function that writes the file, even if that simply writes the data to the
  specified FILE*.

  (provided by Joel DeYoung)

6. License Issues

  NOTE: This section is now updated to concern curl 7.5.2 or later!