cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [BUGS] curl_easy_perform and Dev C++ crash

From: grz <garzul_at_tiscali.fr>
Date: Fri, 24 Nov 2006 23:18:26 +0100

Le Fri, 24 Nov 2006 22:15:47 +0100, Daniel Stenberg <daniel_at_haxx.se> a
écrit:

> What does this do when you pass in what URL and what did you expect it
> to do?

The program running correctly if the url is valid, if url is not valid the
program crash on "res=curl_easy_perform(c);" function (segmentation fault).

"GetFile(char *url,char *fileout)" download a file from "url" and create a
other file "fileout" with the data of url file.

For example is :
GetFile("http://www.estelante.com/ressources/news.txt","news.txt");

PS : Sorry for my bad english, i'm french.

-- 
Utilisant le client e-mail révolutionnaire d'Opera :  
http://www.opera.com/mail/
Received on 2006-11-24