Re: C++ and FTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux