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&#39;Arc <span dir="ltr">&lt;<a href="mailto:amauryfa@gmail.com">amauryfa@gmail.com</a>&gt;</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 &lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt; wrote:<br>
&gt; On Tue, 25 Nov 2008 12:41:46 +0200, Aydın ŞEN &lt;<a href="mailto:adigeaydin@gmail.com">adigeaydin@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I am trying to send file which is in the client&#39;s disk, i am using<br>
&gt;&gt; LineReceiver in the server side. I am sending and receiving data like<br>
&gt;&gt; login<br>
&gt;&gt; stuff but when i start to read &amp; send file LineReceiver method doesnt run<br>
&gt;&gt; in<br>
&gt;&gt; the server side. Sending file code part is below, what can be cause of<br>
&gt;&gt; this?<br>
<br>
</div>The LineReceiver implements a limit of MAX_LENGTH = 16384 bytes per &quot;line&quot;.<br>
When you send 100KB in a row, it calls it lineLengthExceeded() method<br>
and loses its connection...<br>
<div class="Ih2E3d"><br>
&gt; File transfers are not best done using a line-oriented protocol. &nbsp;Have a<br>
&gt; look<br>
&gt; at the &quot;Protocol Design&quot; articles linked from &lt;<a href="http://itamarst.org/" target="_blank">http://itamarst.org/</a>&gt;.<br>
&gt;<br>
&gt; Jean-Paul<br>
<br>
</div>Indeed.<br>
<br>
--<br>
<font color="#888888">Amaury Forgeot d&#39;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> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ege Üniversitesi <br>Uluslararası Bilgisayar Enstitüsü<br>