#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Related to FTP_TLS


    i have installed python 3.2 version on redhat but i am not able to import FTP_TLS module.I am using this module for ftps connection.Please tell me anyone what is exact problem on this.
    Please tell which version have FTP_TLS MODULE in python
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,892
    Rep Power
    481
    Works for me...
    Code:
    $ python
    Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
    [GCC 4.7.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from ftplib import FTP_TLS
    >>>
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    i have tried for this version also .but i m not able to import that module


    I have tried version 2.7.3 also.but from ftplib import FTP_TLS is not working for that.Please help me for this .
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Hi i have installed python 2.7.3


    Still i am facing below below problem.I am not able to import
    from ftplib import FTP_TLS .Please help me for this
    $ python
    Python 2.7.3 (default, Jan 7 2013, 09:13:49)
    [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from ftplib import FTP_TLS
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: cannot import name FTP_TLS
    >>>
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    6
    Rep Power
    0

    Some one can help me for below the issue


    Please help me for below the problem
    Originally Posted by ih20
    Still i am facing below below problem.I am not able to import
    from ftplib import FTP_TLS .Please help me for this
    $ python
    Python 2.7.3 (default, Jan 7 2013, 09:13:49)
    [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from ftplib import FTP_TLS
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: cannot import name FTP_TLS
    >>>
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    6
    Rep Power
    0
    following b49's example above, i got

    Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
    Type "copyright", "credits" or "license()" for more information.
    >>> from ftplib import FTP_TLS
    >>>

    using idle on win7-64.

IMN logo majestic logo threadwatch logo seochat tools logo