5 Jun 11:03
Re: file upload monitoring
Hannes Wallnoefer <hannes <at> helma.at>
2007-06-05 09:03:30 GMT
2007-06-05 09:03:30 GMT
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 <kunitoki <at> gmail.com>: > already done > > On 5/31/07, Hannes Wallnoefer <hannes <at> helma.at> wrote: > > 2007/5/31, kRAkEn/gORe <kunitoki <at> gmail.com>: > > > 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 ? > >(Continue reading)
RSS Feed