[ftputil] SECURE FTP

Valeriy Pogrebitskiy valeriy.pogrebitskiy@db.com
Mon, 12 Apr 2004 15:54:04 -0400


Thank you, Stephan

I downloaded M2Crypto module and tried to install it on our development Unix box. But, instalation does not start: I get ImportError exception that indicates that we do not have Parser module:

hbamwxd1:/export/home/vpogrebi/install/M2Crypt/m2crypto-0.13> python prodtest setup.py build
Traceback (most recent call last):
  File "setup.py", line 12, in ?
    from distutils.core import setup, Extension
  File "/usr/project/arena/prods/python/2.2.1/lib/distutils/__init__.py", line 28, in ?
    from Parser import Parser as _Parser
ImportError: No module named Parser


I tried to find Parser on python.org and on Zope corp's website. But, I did not find it. Where can I get this module?


Valeriy Pogrebitskiy
E-Mail:    vpogrebi@iname.com
Work:     (908) 608-3137


                                                                                                                                        
                      Stefan Schwarzer                                                                                                  
                      <sschwarzer@sschwa        To:       ftputil@codespeak.net                                                         
                      rzer.net>                 cc:                                                                                     
                      Sent by:                  Subject:  Re: [ftputil] SECURE FTP                                                      
                      ftputil-bounces@co                                                                                                
                      despeak.net                                                                                                       
                                                                                                                                        
                                                                                                                                        
                      04/09/04 11:49 AM                                                                                                 
                                                                                                                                        
                                                                                                                                        




Dear Valeriy

On Wed, 2004-04-07 14:43:21 -0400, Valeriy Pogrebitskiy wrote:
> I am primary Python developer within our group. Currently, I am
> working on recent request to switch some of the processes we are
> using from "regular" FTP to secure-ftp server. I have "ftp.py"
> module - which is a good wrapper module for generic Python
> "ftplib.py". But, it is not going to work over secure-ftp
> connection. So, I was searching if there are any other Python
> modules that allow working with secure ftp, and found your
> "ftputil.py". From its description, I know that this module is not
> going to help me either.
>
> But, may be some of you know if there is another module that allows
> secure ftp transactions. Please let me know.

A Google query for

"secure ftp" python

turns up several hits which might be interesting.

Specially, M2Crypto, http://sandbox.rulemaker.net/ngps/m2/ , might be
what you need. As it seems, M2Crypto contains a secure FTP class which
inherits from ftplib.FTP. See
http://sandbox.rulemaker.net/ngps/Dist/api/public/M2Crypto.ftpslib-module.html

Note that you can pass any session class into ftputil's FTPHost class
(see "session_factory" and the Tips/FAQ section in the documentation)
if that session class is compatible with the ftplib.FTP class of
Python's standard library. If the ftpslib.FTP_TLS class in M2Crypto
does only almost what you need, you could derive from it and use that
as the session factory in ftputil.

Hope that helps. :)

Stefan
_______________________________________________
ftputil mailing list
ftputil@codespeak.net
http://codespeak.net/mailman/listinfo/ftputil





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.