Hi,
I'm a new user for
LocalFS product.
I have a form
<form
method="POST" action="processForm_localFS"
enctype="multipart/form-data">
File or Image: <input
type="file" name="filex" value="" /> <br
/>
<input type="submit"
name="save" value="Upload" />
</form>
and this is evaluated by the
following DTML Method processForm_localFS :
<dtml-call
"REQUEST.set('new_id', ZopeTime().strftime('%Y%m%d%H%M%S'))">
<dtml-if filex>
<p>Variable
"filex" exists and has the value "<dtml-var
"_.str(REQUEST.filex)">".</p>
</dtml-if>
<dtml-var REQUEST>
<dtml-comment>
<dtml-call
"testerx.manage_upload( filex, new_id )">
where testerx is a LocalFS
object.
This returns:
============
Variable "filex"
exists and has the value "".
form
filex
<ZPublisher.HTTPRequest.FileUpload instance at e41414>
How can I find the name and
the path of the filex?
Please can you send me some
samples (or a link) about how can be used
this LocalFS product?
Kind regards
Mihai