I want to make a script that does some simple ftp tasks (using socks) on a list of severs. I thought twisted is a good choice.<br><br><div class="gmail_quote">2012/12/28 Glyph <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br><div><div>On Dec 27, 2012, at 9:33 AM, Master Corp &lt;<a href="mailto:corpmasters@gmail.com" target="_blank">corpmasters@gmail.com</a>&gt; wrote:</div>
<br><blockquote type="cite"><p style="line-height:16px;font-size:13px;font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif">Hi. I am new to Twisted. I am using this code:</p><p style="line-height:16px;font-size:13px;font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif">

<a href="http://twistedmatrix.com/documents/current/core/examples/ftpclient.py" style="color:rgb(74,29,190)" target="_blank"><span style="background-image:url();padding-left:16px;display:inline-block;width:0px;background-repeat:no-repeat no-repeat"> </span>http://twistedmatrix.com/documents/current/core/examples/ftpclient.py</a></p>
<p style="line-height:16px;font-size:13px;font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif">Can this example be used to connect to an FTP through a SOCKS4/5 proxy? Can somebody provide an example of how it should be done?</p>
</blockquote><br></div></div></div><div>Is there any reason you want to use Twisted to do your SOCKS proxying?  Programs like &#39;socksify&#39; typically do what you need in a general way that does not require any awareness from your application.  (Twisted does have a SOCKS implementation, but it&#39;s rarely worth the trouble to plug it in.)</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-glyph</div><div><br></div><br></font></span></div><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" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br>