Re: Switch Protocols mid Connection

Glyph <[email protected]>
Newsgroups gmane.comp.python.twisted
Message-ID <[email protected]>

> On Sep 16, 2018, at 11:34 PM, Tristan Seligmann <[email protected]> wrote:
> 
> On Sun, 16 Sep 2018 at 16:02, Randall Smith <[email protected]> wrote:
>> and make 16+ calls to transfer a single file.  So I need to switch to a
>> more appropriate (not yet determined) protocol for the transfer, and
>> then back to AMP.  AMP provides a protocol switch command, which is
>> great, but then I'd need to switch back to AMP and I have no idea what
>> approach to take here.  It  doesn't help that I don't have a file
>> transfer protocol selected.
> 
> You might be able to get away with
> http://bazaar.launchpad.net/~glyph/%2Bjunk/amphacks/annotate/head%3A/python/amphacks/mediumbox.py <http://bazaar.launchpad.net/~glyph/+junk/amphacks/annotate/head:/python/amphacks/mediumbox.py>
You will also probably be interested in https://twistedmatrix.com/trac/ticket/9488 <https://twistedmatrix.com/trac/ticket/9488> .

-glyph

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.