[Yanel-dev] Upload a file

baszero at gmail.com baszero at gmail.com
Thu Feb 24 21:30:12 CET 2011


Yes , enctype is set, yanel logs are fine. Have to debug tomorrow, don't understand it ...


_____________________
CTO
www.zwischengas.com

Sent from my iPhone
My latest Fotos: 
http://tinyurl.com/lm2010pics

On 24.02.2011, at 21:09, Michael Wechner <michael.wechner at wyona.com> wrote:

> Hi Balz
> 
> On 2/24/11 7:06 PM, Balz Schreier wrote:
>> Hi,
>> 
>> does anybody already have implemented a file upload feature in a resource?
> 
> See for example the "from scratch realm" File menu in order to upload an asset:
> 
> http://127.0.0.1:8080/yanel/from-scratch-realm/en/create-new-page.html?resource-type=http%3A%2F%2Fwww.wyona.org%2Fyanel%2Fresource%2F1.0%3A%3Afile&referer=http%3A%2F%2F127.0.0.1%3A8080%2Fyanel%2Ffrom-scratch-realm%2Fen%2Findex.html%3Fyanel.toolbar%3Don&Next=Next
>> 
>> I am using this library:
>> http://commons.apache.org/fileupload/streaming.html
>> 
>> as it is already available in Yanel.
>> 
>> But when I use the API, it does not find any items.
>> In the network traffic I see that my form gets submitted correctly, with all the form fields including the JPG.
> 
> are you sure you have set
> 
> <form  enctype="multipart/form-data"
> 
> ?
> 
> What do the Yanel log files say?
> 
> HTH
> 
> Michael
> 
> 
>> 
>> Thanks
>> Cheers
>> balz
> 
> -- 
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development


More information about the Yanel-development mailing list