Re: DTML/Python to upload documents
26 May
2001
26 May
'01
9:33 a.m.
Hi Ron,
The problem with the following code is that it does not put a file in my folder. All it does is copy the location of the file (e.g., G:\some\path\to\file\filename.pdf). No document.
If I get this right, I'm going to post in on ZopeLabs. (ZopeLabs is a really great idea, incidentally.)
Here is the code for the form...
<dtml-var standard_html_header>
<H3 ALIGN="center">Add a Document Associated with the <dtml-var case_style></H3> <P ALIGN="center">Enter the information below to upload the document.</P>
<FORM ACTION="addFileAction" METHOD="POST">
It's important to specify a encoding type for the form: <FORM ACTION="addFileAction" METHOD="POST" ENCTYPE="multipart/form-data"> I hope this will solve your problem. Bye, Eric
9081
Age (days ago)
9081
Last active (days ago)
0 comments
1 participants
participants (1)
-
E. Seifert