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
I haven't tested this, but i maybe think it works?
import shutil
try:
copy("your_file.txt", "your_subfolder")
print "Done!"
except:
print "Failed!"
--
http://mail.python.org/mailman/listinfo/python-list