ftp客户端库(C++编写,平台Linux,Win)
ftplib++ (C++,Linux,Win)
http://kasablanca.berlios.de/ftplibpp/
ftplib++ contains a c++ class providing ftp client functionality. It supports all basic ftp functionality plus some advanced features like resuming, fxp, ssl/tls encryption, large file support, or logging to fit todays standards. The very base of ftplib++ is the nice code of Thomas Pfau's ftplib c library. Every ftp session is represented by an ftplib object, whose methods are called to communicate with the ftp server. The ftp sessions should begin with a call to myftp.Connect("myftp.org:21") (and maybe myftp.NegotiateEncryption()), be followed with myftp.Login("myuser","mypass") and ended by myftp.Quit(); For the magic in between, read the class methods documentation. Most methods have their tasks yet explained from their name. ftplib++ uses the openssl library for encryption functionality, if you don't need it you can use the "NOSSL" flag, when compiling ftplib.cpp (g++ -c ftplib.cpp -DNOSSL). If your system does not feature large file support you can use the "NOLFS" flag (g++ -c ftplib.cpp -DNOLFS).
documentation
download
更多推荐
所有评论(0)