Yes, the point is Producer, i solved my problem.<br><br>Thanks all.<br><br>-adige-<br><br><div class="gmail_quote">2008/12/3  <span dir="ltr">&lt;<a href="mailto:glyph@divmod.com">glyph@divmod.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
<br>
On 11:13 am, <a href="mailto:adigeaydin@gmail.com" target="_blank">adigeaydin@gmail.com</a> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div class="Ih2E3d"><br>
Actuallly i solved my problem but i have another one. I am sending file in<br>
while loop, as you said before it doesnt send data pyhshically, i am<br>
updating my progressBar in while loop, so the progressBar is being updated<br>
before data being sent..<br>
<br>
Is there any signal that self.transport.write() creates when data &quot;really&quot;<br>
sent? May be i can update my progressBar with that signal..<br>
</div></blockquote>
<br>
Sort of. &nbsp;You shouldn&#39;t call transport.write() in a loop, you should register a producer for the transport and call transport.write when it&#39;s ready. &nbsp;Documentation is here: <a href="http://twistedmatrix.com/projects/core/documentation/howto/producers.html" target="_blank">http://twistedmatrix.com/projects/core/documentation/howto/producers.html</a><div>
<div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">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>
</div></div></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>