Well I am not too familiar with ftplib but I have done some minimal
work.

Example:

try:
    server=FTP()
    server.connect('ftp.mcafee.com', 21)
except:
     print "Could not connect to server"
     raw_input("Hit Enter to quit:")
     sys.exit(0)
login = server.login('anonymous', '[EMAIL PROTECTED]')
workdir = server.cwd("/pub/datfiles/english") ## Set the current
directory
server.delete("*.*")

End Example:

I hope it helps

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to