[Twisted-Python] sending file but LineReceiver doesnt run

Jean-Paul Calderone exarkun at divmod.com
Tue Nov 25 09:17:52 EST 2008

On Tue, 25 Nov 2008 12:41:46 +0200, Aydın ŞEN <adigeaydin at gmail.com> wrote:
>I am trying to send file which is in the client's disk, i am using
>LineReceiver in the server side. I am sending and receiving data like login
>stuff but when i start to read & send file LineReceiver method doesnt run in
>the server side. Sending file code part is below, what can be cause of this?

File transfers are not best done using a line-oriented protocol.  Have a look
at the "Protocol Design" articles linked from <http://itamarst.org/>.


More information about the Twisted-Python mailing list