Thanks for the pointers to the task and job libraries, that should be enough to get started.
On Mon, Feb 16, 2015 at 7:21 AM, Alexander V. Lukyanov <l...@netis.ru> wrote: > 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. > -- - Randall
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp