Matthew Flaschen wrote:
Per Anton R?nning wrote:
Example:
-------------
char  curlcmd[100];
char url[]="http://<url....>",char receiving_file[]="/<some
directory>/recfile.html"
//setup url command
 sprintf(curlcmd,"curl %s > %s",url,receiving_file);
 i=system(curlcmd);

Why would you use curl with system, when it has a well-documented API
(http://curl.haxx.se/libcurl/c/)?

Matt Flaschen

Why not? Simplicity. It works, and then I don't spend more time on the issue.

Brgds
PAR

--
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to