Yes, the point is Producer, i solved my problem. Thanks all.
-adige- 2008/12/3 <[EMAIL PROTECTED]> > > > > On 11:13 am, [EMAIL PROTECTED] wrote: > >> Hi, >> Actuallly i solved my problem but i have another one. I am sending file in >> while loop, as you said before it doesnt send data pyhshically, i am >> updating my progressBar in while loop, so the progressBar is being updated >> before data being sent.. >> >> Is there any signal that self.transport.write() creates when data "really" >> sent? May be i can update my progressBar with that signal.. >> > > Sort of. You shouldn't call transport.write() in a loop, you should > register a producer for the transport and call transport.write when it's > ready. Documentation is here: > http://twistedmatrix.com/projects/core/documentation/howto/producers.html > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- Aydın ŞEN Ege Üniversitesi Uluslararası Bilgisayar Enstitüsü
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python