You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrew Le Quesne <an...@nexusalpha.com> on 2006/02/28 14:54:06 UTC

files in upload-directory being deleted

Hello,

I have a web app which uses the CForms upload widget to upload files, which
it is saving in the
Upload-directory I have specified in the webapp's WEB-INF/web.xml file.

The application is running in Jetty and whenever Jetty is restarted any
files in this upload directory are deleted.

It seems from my subsequent research on the internet that the
upload-directory is only a temporary folder and that if I want to save them
permanently they will either need to be moved or saved separately.

Can anyone confirm whether or not this is correct, or is there in fact a way
to stop them being deleted in the first place?

I am using cocoon 2.1.8.

Many thanks,

Andrew

Re: files in upload-directory being deleted

Posted by Bruno Dumon <br...@outerthought.org>.
On Tue, 2006-02-28 at 13:54 +0000, Andrew Le Quesne wrote:
> Hello,
> 
> I have a web app which uses the CForms upload widget to upload files,
> which it is saving in the
> 
> Upload-directory I have specified in the webapp’s WEB-INF/web.xml
> file.
> 
> The application is running in Jetty and whenever Jetty is restarted
> any files in this upload directory are deleted.
> 
> It seems from my subsequent research on the internet that the
> upload-directory is only a temporary folder and that if I want to save
> them permanently they will either need to be moved or saved
> separately.
> 
> Can anyone confirm whether or not this is correct, or is there in fact
> a way to stop them being deleted in the first place?

The upload directory is indeed only a temporary storage.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org