well, I'm trying to use ftplib to upload data that received from socket, and the application is required to restart the transfer at a specific interval so as to generate a different target file on the server to store subsequent data.
the problem is 'storbinary' accepts only file-like object, I have to use socketobj.makefile() to do that, how can I stop and resume that transfer then? the abort() generates lots of wierd and unexpected behavior, I guess if there is a way to upload raw data buffer, the restart action should be implemented more easily. thanks. daniel -- http://mail.python.org/mailman/listinfo/python-list