Thank you very much..<br><br>if i send file per 1KB does it cause lack of performance?<br><br><div class="gmail_quote">25 Kasım 2008 Salı 16:51 tarihinde Amaury Forgeot d'Arc <span dir="ltr"><<a href="mailto:amauryfa@gmail.com">amauryfa@gmail.com</a>></span> yazdı:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<div class="Ih2E3d"><br>
On Tue, Nov 25, 2008 at 15:17, Jean-Paul Calderone <<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>> wrote:<br>
> On Tue, 25 Nov 2008 12:41:46 +0200, Aydın ŞEN <<a href="mailto:adigeaydin@gmail.com">adigeaydin@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>> I am trying to send file which is in the client's disk, i am using<br>
>> LineReceiver in the server side. I am sending and receiving data like<br>
>> login<br>
>> stuff but when i start to read & send file LineReceiver method doesnt run<br>
>> in<br>
>> the server side. Sending file code part is below, what can be cause of<br>
>> this?<br>
<br>
</div>The LineReceiver implements a limit of MAX_LENGTH = 16384 bytes per "line".<br>
When you send 100KB in a row, it calls it lineLengthExceeded() method<br>
and loses its connection...<br>
<div class="Ih2E3d"><br>
> File transfers are not best done using a line-oriented protocol. Have a<br>
> look<br>
> at the "Protocol Design" articles linked from <<a href="http://itamarst.org/" target="_blank">http://itamarst.org/</a>>.<br>
><br>
> Jean-Paul<br>
<br>
</div>Indeed.<br>
<br>
--<br>
<font color="#888888">Amaury Forgeot d'Arc<br>
</font><br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Aydın ŞEN<br><br> Ege Üniversitesi <br>Uluslararası Bilgisayar Enstitüsü<br>