Fixed DTPHandler.initiate_send method which now looks at ac_out_buffer_size attribute sending only the amount of data specified in it. Thanks to this modification it is now possible to provide a more precise throughput when sending data using a modified DTPHandler having bandwidth throttling capabilities.
Fixed DTPHandler.initiate_send method which now looks at ac_out_buffer_size attribute sending only the amount of data specified in it.
Thanks to this modification it is now possible to provide a more precise throughput when sending data using a modified DTPHandler having bandwidth throttling capabilities.

giampaolo/pyftpdlib