Here you go.
This uploads a file in the current working directory.
thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you
have to put '' double-apostrofies for the ID then.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000 6:29 PM
Subject: [Zope] Any examples of use of manage_addFile()?
> I want to create a user-interface so that users can upload files to my Zope
> site. I have done this with DTMLDocuments, however I don't quite understand how
> to get the file itself into the Zope site via ...
> ..that is in Python.
> I looked through the HOWTO's but didn't find anything. Does someone have an
> example of a Form/DTMLMethod/Python script that does this sort of thing?
> Thanks in advance,
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -