Python & CGI. HELP please...
enrico_morelli at yahoo.com
Thu Jun 5 11:57:38 CEST 2003
I'm trying to write a script to be able to download/upload files
through web pages.
The upload script works fine but the download no.
When I download a file (pdf for example) using this script, I'm unable
to open it in local using acroread because at the end of the document I
found some html rows :-||
These rows are some html code inside of the script that I use to
Follow the method that I use to download files:
def download(self, fullname, file):
print "Content-Type: application/download"
print "Content-Disposition: attachment; filename=%s\n" % file
msg="An error occurred during file transfer."
Can someone help me??
Thanks a lot
More information about the Python-list