Asynchronous FTP Library

Is there a cross-platform and asynchronous FTP client library for C or C ++?

Thanks.

+4
source share
3 answers

What about libcurl ? It is well known, widely used, and supports async FTP. I would also think that this is also a cross platform.

As a bonus, this is a much smaller library for reference than, for example, all Qt.

+8
source

How about Qftp ?

This is part of Qt, so the code must be portable. Maybe just for graphical applications though ...

The QFtp class provides an FTP client side implementation.

The class works asynchronously, so there are no blocking functions. If the operation cannot be performed immediately, the function will continue to return immediately and the operation will be scheduled for subsequent execution. The results of scheduled operations are reported via signals. This approach depends on the event cycle being operational.

+4
source

I don’t think I know, but why don’t you look, for example, at the source code of FileZilla (http://svn.filezilla-project.org/filezilla/FileZilla3/trunk/src/engine/)? This is open source, take advantage of this. You probably won't use this code as it is, but at least it will give some ideas for you to get started.

0
source

All Articles