Thank you very much for you help,  the twisted community is really helpful!<br><br>For now I&#39;ll use PB and ConsumerProducer and if it&#39;s not sufficient I&#39;ll hack around the BitTorrent protocol (using the twisted implementation in the BitTorrent client).<br>
<br>Thank you very much for the help!<br><br>- Gabriele<br><br><div class="gmail_quote">2010/5/11 Konrads Smelkovs <span dir="ltr">&lt;<a href="mailto:konrads@smelkovs.com">konrads@smelkovs.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
You can do with Pb and Consumer/Producer. Things that use low level<br>
interfaces such as sendfile on linux will be more efficient and you<br>
may want to consider setting up an http server and just handing out<br>
links.<br>
<br>
2010/5/11, Gabriele Lanaro &lt;<a href="mailto:gabriele.lanaro@gmail.com">gabriele.lanaro@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I&#39;m trying to develop a simple application that let communicate two<br>
&gt; computers in a LAN for transferring files. My idea is that:<br>
&gt;<br>
&gt; using dbus/zeroconf each machine can see other&#39;s service and can connect<br>
&gt; with it (I need something without authentication or so)<br>
&gt;<br>
&gt; having a lan with 2 machines<br>
&gt;<br>
&gt; A asks B if he can send a file<br>
&gt;<br>
&gt; if B accepts, begin transferring<br>
&gt; if B refuse, send an error back<br>
&gt;<br>
&gt; It would be nice to transfer big files (not loaded all in memory) and the<br>
&gt; ability to stop/resume the upload/download and the integrity check.<br>
&gt;<br>
&gt; Is there a protocol that let me do this stuff or is better to implement a<br>
&gt; protocol on my own? (I&#39;d like that the system is flexible to further extend<br>
&gt; for example, implement shared folders and so on)<br>
&gt;<br>
&gt; In the latter case it&#39;s convenient to use one port or two ports like ftp<br>
&gt; does?<br>
&gt;<br>
<br>
</div></div>--<br>
Nosūtīts no manas mobilās ierīces<br>
<font color="#888888"><br>
--<br>
Konrads Smelkovs<br>
Applied IT sorcery.<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>