[Zope] http file upload w/ external methods.

zope@virtosi.com zope@virtosi.com
Thu, 8 Nov 2001 14:23:55 -0500 (EST)


hello there:

i am having upload issues. i would like to upload a file, some text, 
and meta-data (all form fields...) and then move (and rename) that file to 
a specific directory based on the meta-data.

so,,, i am sending the requests directly to an External method.

### DTML ####
<input type=my_external_method action=post enctype='multipart/form-data
Title: <input type=text name=file_nae size=10>
File:  <input type=file name=myfile>
<input type=submit>
</form>

the LocalFS products manage_upload seems to do what i want, but i don't 
know how to access it from an external method (and i would need to for 
other reasons). 

does Zope hand off the request directly to the external method?? could i 
use the cgiupload.py module ??


thanks for your help,
  --james jackson, aspiring zope-buster...