C++ and FTP

Robert Wuest rwuestfc at wuest.org
Tue Oct 28 19:08:13 UTC 2008


On Tue, 2008-10-28 at 19:10 +0100, iztok at sport-slo.net wrote:
> Hello,
> 
> I have to use FTP connection in C++ applications.
> 
> I found some tutorials, but nothing interesting.
> 
> Has anybody been doing with FTP functions?
> 
> I will need some tutorials about it.
> 
> Thank you.

I would use libcurl, myself.

yum install libcurl libcurl-devel

Look at the examples in /usr/share/doc/libcurl-devel-7.18.2,
particularly ftpget.c and ftpupload.c.

They are in C, but the headers have al the functions wrapped
appropriately with "#ifdef  __cplusplus" stuff.


Robert





More information about the fedora-list mailing list