[Twisted-Python] Streaming File Transfer Protocol?

Mark Bailey mebly5343 at gmail.com
Wed Feb 10 11:36:15 MST 2010


Hi Darren:

Why not use TCP?  You can send the length of the file at the beginning so
you know how many bytes to listen for.
TCP guarantees delivery and ordering.

Mark

On Wed, Feb 10, 2010 at 12:22 PM, Darren Govoni <darren at ontrenet.com> wrote:

>  Hi,
>   Is there an existing protocol that can provide the following?
>
> - Accept stream binary data FROM a client (e.g. very large file transfer)
> - Receive data IN ORDER (i.e. stream. not out of order random packets)
>
> I want to stream FROM a client to the protocol server and have the
> server process the stream bytes incrementally so it doesn't have
> to store or write the entire data stream (too large).
>
> I looked at FileTransferServer and Client, but I'm not sure it provides
> what I need.
>
> Any tips appreciated!
> Darren
>
> _______________________________________________
> 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: </pipermail/twisted-python/attachments/20100210/cafdc1fb/attachment.html>


More information about the Twisted-Python mailing list