[Twisted-Python] Streaming File Transfer Protocol?
Darren Govoni
darren at ontrenet.com
Wed Feb 10 11:54:54 MST 2010
Hey Mark,
Yeah, that's what I want, but in the 'twisted' way. I can write
socket servers, etc. But didn't notice a good example of how to do this
in Twisted (sparing me the socket programming), until I found this old
message[1] with the classes I think might work.
[1]
http://twistedmatrix.com/pipermail/twisted-python/2007-July/015738.html
Darren
On Wed, 2010-02-10 at 13:36 -0500, Mark Bailey wrote:
> 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
>
>
>
>
> _______________________________________________
> 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/02bbedcc/attachment.html>
More information about the Twisted-Python
mailing list