1

Python FTP issues

view story
linux-howto

http://ubuntuforums.org – Hi All I've been playing around with PyQt lately and I wanted to use it and the module ftplib for something cool. I've been having issues with the ftplib module, I do not know why it's not working and google isn't helping The simplest code for instance Code: from ftplib import FTP f = FTP("ftp://ftp.leg.uct.ac.za/pub/") print(f.getwelcome()) throws the following error Code:   File "test.py", line 2, in <module>     f = FTP("ftp://ftp.leg.uct.ac.za/pub/")   File "/usr/lib/python3.2/ftplib.py", line 113, in __init__ (Hardware)