Re: cgi error

2006-03-31 Thread Richard Brodie
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It works fine when i run it in python , but it won't run when i run my > cgi script. > > It says AttributeError: 'module' object has no attribute 'FTPHost' > what could be a possible cause? thanks. Perhaps you called your script 'ftp

Re: cgi error

2006-03-31 Thread v0id
I'm not sure, but in your CGI script, where you have import cgi or import cgi import cgitb; cgitb.enable() there sometimes come error if place any other modules over it. I don't now if it is that, 'cus i don't have seen more of your code. so if your code is: importFTPHost import cgi import cgitb; c