Tuomo L wrote:

Hi,

I've been playing with the upload-mechanism of Cocoon, and noticed that
it's now required to cath the uploaded file since cocoon deletes it (At
least this is the behaviour on my 2.1 installation with "autosave-upload"
true and "allow-uploads" true)

I'm working on a "ZipArchiveExtractorAction", which accepts two
parameters via sitemap: "source" and "target".

Now, with source resolving, I can use protocols such as:
"cocoon://foo.zip", "context://foo.zip" etc. It would be convinient,
if one could use a protocolthat defines a source (FilePart) located in memory.
This could be for example: "multipart://foo.zip" . Then it would
be possible to extract that in-memory zip-file to the target-dir.

Is this possible already, or am I going to wrong direction here?



This is not possible today, but really is the right direction, and would be a valuable addition.


Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com




Reply via email to