ftpclient-cpp | C++ client for making FTP requests | FTP library
kandi X-RAY | ftpclient-cpp Summary
kandi X-RAY | ftpclient-cpp Summary
This is a simple FTP client for C++. It wraps libcurl for FTP requests and meant to be a portable and easy-to-use API to perform FTP related operations.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ftpclient-cpp
ftpclient-cpp Key Features
ftpclient-cpp Examples and Code Snippets
Community Discussions
Trending Discussions on ftpclient-cpp
QUESTION
I have found this library https://github.com/embeddedmz/ftpclient-cpp on GitHub but how to install it on Linux(Ubuntu) is quite obscure.
...You will need CMake to generate a makefile for the static library or to build the tests/code coverage program. Also make sure you have libcurl and Google Test installed.
You can follow this script https://gist.github.com/fideloper/f72997d2e2c9fbe66459 to install libcurl.
This tutorial will help you installing properly Google Test on Ubuntu: https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
The CMake script located in the tree will produce Makefiles for the creation of the static library and for the unit tests program.
To create a debug static library and a test binary, change directory to the one containing the first CMakeLists.txt and :
ANSWER
Answered 2021-Aug-26 at 11:17After you build the library, there will be a libftpclient.a
generated in your build tree.
You can install it to your system as follows:
In this case, copy libftpclient.a
to /usr/local/lib
and the two header files in FTP
to /usr/local/include
.
You should then be able to include the header files by adding the -I/usr/local/include
flag and link by adding -L/usr/local/lib -lftpclient
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ftpclient-cpp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page