Can you tell me how do i compile and link the example files in the src directory, I have been trying them since last 8 hours. I will work on the lines you told me and try registering a command.
thanks Vishwanath Patil On 2/8/06, Alexander V. Lukyanov <[EMAIL PROTECTED]> wrote: > On Wed, Feb 08, 2006 at 05:43:25PM +0530, Vishwanath Patil wrote: > > i want to use lftp as a back-end that downloads files from a ftp > > server at a particular time with particular rate. The issue now is i > > want to integrate this into another piece of application or control it > > from that application. I tried using shared memory and diverted the > > readline to shared memory. Now i can give any command from there and > > lftp executed it. > > > But i think i dont need to add this or i feel that this is not the > > best way. Can i use the .so files to call the functions and reach my > > requirement. I want to know how to compile and link the example files > > in the src directory. > > You can create a module which would do what you want (that is download > some files with some rate) and report its status in a particular way (with > shared memory or anything). > > The module could register a command which does what you want. Then you > can feed that command with arguments to stdin of lftp and the command > reports its status to your application. > > -- > Alexander.. >
