CallBack

2006-03-04 Thread Ramkumar Nagabhushanam
Hello All, I am trying to integrate the ftpclient (in ftplib) with an application that has been written I C/C++. I am able to delete,send change working directories etc. When I receive data back from the server i.e. Retrieve files, get a directory listing) I want to pass a callback function to the

Callback

2006-02-27 Thread Ramkumar Nagabhushanam
Hello All, I am writing an application in C/C++ (VC++ 6.0 compiler) within which I want to make calls using the python FTP client (ftplib). I want to call (for example) after the necessary iniialization has been done: PyObject *t = PyObject_CallMethod (_FTP, "retrlines", , "LIST", c_functio