'indexftp.barcap.com' only (sans the 'ftp.' prefix) allows me to
connect to an FTP server
>ftp indexftp.barcap.com
Connected to usftp.barcap.com.
220-Connected to usftp.barcap.com.
220 FTP server ready.
User (usftp.barcap.com:(none)):
--
http://mail.python.org/mailman/listinfo/python-list
Please make the below change to get past this problem
Change
*ftp.*indexftp.barcap.com
to
indexftp.barcap.com
Regards,
Anurag
On Fri, Jan 14, 2011 at 5:25 PM, Thomas Philips wrote:
> I'm using ftplib for the first time, and am having trouble getting it
> to work. I type
>
> >>> from ftplib
gaierror: [Errno 11001] getaddrinfo failed
That part of the error indicates, your computer is unable to resolve the
IP address for the hostname
ftp.indexftp.barcap.com
Make sure the hostname is valid.
--
With warm regards,
Sudheer. S
Personal home page - http://sudheer.net | Tech Chorus -
Thomas,
> ftp = FTP('ftp.indexftp.barcap.com', 'A Valid Username', ' A Valid Password')
Your FTP URI is bad. When I try to connect to your site from the Windows
FTP client, I get the following response:
Unknown host ftp.indexftp.barcap.com.
Malcolm
--
http://mail.python.org/mailman/listinfo/py