I'll try that,
----- Message d'origine ----
De : Frank Burkhardt <[EMAIL PROTECTED]>
À : Stéphane Brault <[EMAIL PROTECTED]>; firstname.lastname@example.org
Envoyé le : Mardi, 20 Juin 2006, 12h40mn 23s
Objet : Re: Re : Re : [Zope3-Users] Uploading files
On Tue, Jun 20, 2006 at 10:10:52AM +0000, Stéphane Brault wrote:
> Hi all,
> I'm sorry to bother you with what must be a simple problem but I still can't
> how to upload files with zope 3. If ajax is not a good way to go, how should
> I go ?
> I just need that to upload csv files which I parse to update my database
> (MySQL) and
> to upload image files.
You could use the Bytes() -schema whose InputWidget is a file upload field by
The content class or adapter for your form should look like this:
[... put database code here that returns a csv file - if you like ...]
[... data contains you file's content. process it as you like ...]
Just use an <editform> to get a file upload view.
Zope3-users mailing list