[Twisted-Python] Conch for file transfer?

Drew Smathers drew.smathers at gmail.com
Fri Oct 8 12:00:00 MDT 2010


On Fri, Oct 8, 2010 at 1:35 PM, Laurens Van Houtven <lvh at laurensvh.be> wrote:
> Hi,
>
>
> Is there any documentation about using Conch for file transfer anywhere?
>
> I'm interested in doing a continuous deployment thing using it. That
> means two parts:
> 1) the ability to submit changes: the hard part here is file transfer
> of the binary diffs
> 2) the ability to control a subprocess: basically like supervisord but
> not written with medusa
> 3) manual intervention would be nice, so manhole
>
> I can't find any documentation or examples, but these classes do exist.
>

Have you looked at
http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.2.0/twisted/conch/scripts/cftp.py#L129
as a starting point? It's a little sketchy in places and there's at
least one serious bug:

http://twistedmatrix.com/trac/ticket/3927

But it was nonetheless enough to help me write a component that
transfers large media assets to a cdn origin server.

-Drew




More information about the Twisted-Python mailing list