On Thu, Jun 22, 2000 at 02:18:35PM +0200, Frédéric Quin wrote:
Hi all,
I did'nt manage to init a DTML Document by uploading a file.
I wrote :
dtml-call "manage_addDTMLDocument('my_id_html','','/home/index.html')
I tried too :
dtml-call
Sorry,
Forgot to add that method="post" is also required in the FORM tag before a
file contents is sent along in a posted form. So the required syntax is:
FORM ... enctype="mulipart/form-data" ... method="post"...
Otherwise, the file-selection field in the form acts like a regular text
field.
Hi all,
I did'nt manage to init a DTML Document by uploading a file.
I wrote :
dtml-call "manage_addDTMLDocument('my_id_html','','/home/index.html')
I tried too :
dtml-call "manage_addDTMLDocument('my_id_html','',file='/home/index.html')
And also :
dtml-call
On Thu, 22 Jun 2000, Frédéric Quin wrote:
Zope always creates a DTML Document and init his body with the path of the file
: it never uploads the file...
Zope should not download the file itself - imaging the situation when
you work on one computer, and Zope on another. What is the file