I need to transfer some files over FTP to a mobile device. I chose against using bare sockets because I wanted the ease of access that an FTP server provides. I want to create my own FTP Server through C++. I tried this class, but was getting some errors trying to get it to work. Does anyone know of a class, example, or library to use when building a C++ FTP Server?
Share
I would use
boost::asio. Boost is a very well-know set of libraries for C++, andasiois the part implementing the support for networking.Here you can see a list of examples, ranging from simple example to an HTTP server. Unluckily there is no example creating an FTP server, but the examples in the previous link will point you in the right direction.
Of course, if you do not need to build your own FTP server, then you can look for some projects out there that fully implement an FTP server.