[Twisted-Python] Need help using FTPClient

Master Corp corpmasters at gmail.com
Fri Dec 28 02:00:12 MST 2012


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.

2012/12/28 Glyph <glyph at twistedmatrix.com>

>
> On Dec 27, 2012, at 9:33 AM, Master Corp <corpmasters at gmail.com> wrote:
>
> Hi. I am new to Twisted. I am using this code:
>
>  http://twistedmatrix.com/documents/current/core/examples/ftpclient.py<http://twistedmatrix.com/documents/current/core/examples/ftpclient.py>
>
> 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?
>
>
> Is there any reason you want to use Twisted to do your SOCKS proxying?
>  Programs like 'socksify' 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's rarely worth the trouble to plug it in.)
>
> -glyph
>
>
>
> _______________________________________________
> 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/20121228/f962a9e5/attachment.html>


More information about the Twisted-Python mailing list