Thank you very much for you help, the twisted community is really helpful!<br><br>For now I'll use PB and ConsumerProducer and if it's not sufficient I'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"><<a href="mailto:konrads@smelkovs.com">konrads@smelkovs.com</a>></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 <<a href="mailto:gabriele.lanaro@gmail.com">gabriele.lanaro@gmail.com</a>>:<br>
<div><div></div><div class="h5">> I'm trying to develop a simple application that let communicate two<br>
> computers in a LAN for transferring files. My idea is that:<br>
><br>
> using dbus/zeroconf each machine can see other's service and can connect<br>
> with it (I need something without authentication or so)<br>
><br>
> having a lan with 2 machines<br>
><br>
> A asks B if he can send a file<br>
><br>
> if B accepts, begin transferring<br>
> if B refuse, send an error back<br>
><br>
> It would be nice to transfer big files (not loaded all in memory) and the<br>
> ability to stop/resume the upload/download and the integrity check.<br>
><br>
> Is there a protocol that let me do this stuff or is better to implement a<br>
> protocol on my own? (I'd like that the system is flexible to further extend<br>
> for example, implement shared folders and so on)<br>
><br>
> In the latter case it's convenient to use one port or two ports like ftp<br>
> does?<br>
><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>