[Twisted-Python] suggestion for a file transfer protocol

Gabriele Lanaro gabriele.lanaro at gmail.com
Wed May 12 08:32:51 EDT 2010


Thank you very much for you help,  the twisted community is really helpful!

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).

Thank you very much for the help!

- Gabriele

2010/5/11 Konrads Smelkovs <konrads at smelkovs.com>

> You can do with Pb and Consumer/Producer. Things that use low level
> interfaces such as sendfile on linux will be more efficient and you
> may want to consider setting up an http server and just handing out
> links.
>
> 2010/5/11, Gabriele Lanaro <gabriele.lanaro at gmail.com>:
> > I'm trying to develop a simple application that let communicate two
> > computers in a LAN for transferring files. My idea is that:
> >
> > using dbus/zeroconf each machine can see other's service and can connect
> > with it (I need something without authentication or so)
> >
> > having a lan with 2 machines
> >
> > A asks B if he can send a file
> >
> > if B accepts, begin transferring
> > if B refuse, send an error back
> >
> > It would be nice to transfer big files (not loaded all in memory) and the
> > ability to stop/resume the upload/download and the integrity check.
> >
> > Is there a protocol that let me do this stuff or is better to implement a
> > protocol on my own? (I'd like that the system is flexible to further
> extend
> > for example, implement shared folders and so on)
> >
> > In the latter case it's convenient to use one port or two ports like ftp
> > does?
> >
>
> --
> Nosūtīts no manas mobilās ierīces
>
> --
> Konrads Smelkovs
> Applied IT sorcery.
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100512/dc45aea4/attachment.htm 


More information about the Twisted-Python mailing list