[Twisted-Python] suggestion for a file transfer protocol

Konrads Smelkovs konrads at smelkovs.com
Tue May 11 14:40:53 MDT 2010


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.




More information about the Twisted-Python mailing list