Problem to Download ftp file

Shakil Ahmed shakil.ahmed at igib.res.in
Mon May 7 01:27:59 EDT 2007


hi
Actually i need to know that how can i download a ftp file from ncbi by
using python module ftputil.
please help me.

Thanks
regards,
Shakil

import ftputil

host = ftputil.FTPHost('ftp.ncbi.nih.gov/repository/OMIM/morbidmap',
'anonymous', 'password')



 

The Error message is:

raise FTPOSError(ftp_error)

FTPOSError: (11001, 'getaddrinfo failed')

Debugging info: ftputil 2.2.2, Python 2.4.3 (win32)



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070507/ae3de5f8/attachment.html>


More information about the Python-list mailing list