<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.1">
</HEAD>
<BODY>
Hey Mark,<BR>
&nbsp;&nbsp; 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),&nbsp; until I found this old message[1] with the classes I think might work.<BR>
<BR>
[1] <A HREF="http://twistedmatrix.com/pipermail/twisted-python/2007-July/015738.html">http://twistedmatrix.com/pipermail/twisted-python/2007-July/015738.html</A><BR>
<BR>
Darren<BR>
<BR>
On Wed, 2010-02-10 at 13:36 -0500, Mark Bailey wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi Darren:<BR>
    <BR>
    Why not use TCP?&nbsp; You can send the length of the file at the beginning so you know how many bytes to listen for.<BR>
    TCP guarantees delivery and ordering.<BR>
    <BR>
    Mark<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On Wed, Feb 10, 2010 at 12:22 PM, Darren Govoni &lt;<A HREF="mailto:darren@ontrenet.com">darren@ontrenet.com</A>&gt; wrote:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Hi,<BR>
        &nbsp; Is there an existing protocol that can provide the following?<BR>
        <BR>
        - Accept stream binary data FROM a client (e.g. very large file transfer)<BR>
        - Receive data IN ORDER (i.e. stream. not out of order random packets)<BR>
        <BR>
        I want to stream FROM a client to the protocol server and have the<BR>
        server process the stream bytes incrementally so it doesn't have <BR>
        to store or write the entire data stream (too large).<BR>
        <BR>
        I looked at FileTransferServer and Client, but I'm not sure it provides<BR>
        what I need. <BR>
        <BR>
        Any tips appreciated!<BR>
        <FONT COLOR="#888888">Darren</FONT>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <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">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</A><BR>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
<PRE>
_______________________________________________
Twisted-Python mailing list
<A HREF="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</A>
<A HREF="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>