Re: lftp as a c/c++ library
"Alexander V. Lukyanov" <[email protected]> Mon, 16 Feb 2015 15:21:17 +0300
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 13, 2015 at 09:56:02AM -0500, Randall McPherson wrote: > lftp is the best sftp / ftp client I know of, especially for gracefully > handling the many non-compliant ftp server implementations. It would be > awesome to use it as a c/c++ library, calling it directly from other code. > Is it feasible to use part of the lftp code as a library and has anyone > done this? I couldn't find anything in the man page or other documentation > saying definitively either way. I've built a small tool in the past that > runs it using a script file, (`lftp -f`) but it would be great if it could > be called more interactively as a library. It's possible to link to liblftp-tasks and liblftp-jobs libraries. The API is not documented though, there are just several examples in the lftp sources. -- Alexander. _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp