Re: file upload monitoring
Jonathan Puckey <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
It works fine here in Safari 2.0.4 Nice addition! > I've added a hook for file upload monitoring to the helma servlet: If > there is a upload_id parameter in the query string, the upload status > is tracked in the user's session. You can get it via > session.getUploadStatus(uploadId). There's a demo page here: > > http://dev.helma.org/wiki/Upload+Demo/ > > I think it doesn't work with Safari currently, maybe somebody can look > into this. > > However, the really big news is that uploads are no longer passed in > memory. helma.util.MimePart can now wrap a DiskFileItem from > commons-fileupload, and you can read its content from an InputStream > instead of a byte array. I'm in the process of documenting all this at > > http://dev.helma.org/wiki/HTTP+Parameter+and+File+Upload > +Enhancements+in+Helma+1.6/ > > hannes > > 2007/5/31, kRAkEn/gORe <[email protected]>: >> already done >> >> On 5/31/07, Hannes Wallnoefer <[email protected]> wrote: >>> 2007/5/31, kRAkEn/gORe <[email protected]>: >>>> cool, >>>> since i'm basically quite new to helma, where should i look for >>>> attaching this listener to the common helma upload internal class, >>>> and maybe let it trigger a session.onFileUploadProgress() found >>>> in the >>>> application scripts ? >>> >>> It's rather hard to do this without modifying Helma, so I >>> implemented >>> it. It'll be in CVS later today. >>> >>> hannes >>> _______________________________________________ >>> Helma-user mailing list >>> [email protected] >>> http://helma.org/mailman/listinfo/helma-user >>> >> _______________________________________________ >> Helma-user mailing list >> [email protected] >> http://helma.org/mailman/listinfo/helma-user >> > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user