is it possible to send raw data through ftp?
daniel.huangfei at gmail.com
Fri Oct 20 06:26:07 CEST 2006
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.
More information about the Python-list