You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Scott Yeadon <sc...@anu.edu.au> on 2004/10/28 07:46:17 UTC

Upload directory

Hi,

Is it possible ot turn off Cocoon's cleaning up of the upload-directory? 
If someone uploads a large file (100+MB) I don't want to have to copy it 
just to protect it from Cocoon!

Scott.

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


Re: Upload directory

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Scott:

Scott Yeadon dijo:
> That's what I'm doing, but it still takes time to move a large file...

You can create a background task to move the file. That way, the user will
not need to wait for the 100MB+ of moving.

Best Regards,

Antonio Gallardo

> Antonio Gallardo wrote:
>
>>Scott Yeadon dijo:
>>
>>
>>>Hi,
>>>
>>>Is it possible ot turn off Cocoon's cleaning up of the upload-directory?
>>>If someone uploads a large file (100+MB) I don't want to have to copy it
>>>just to protect it from Cocoon!
>>>
>>>
>>
>>You can move it. ;-)
>>
>>Best Regards,
>>
>>Antonio Gallardo
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Re: Upload directory

Posted by Leszek Gawron <lg...@mobilebox.pl>.
Scott Yeadon wrote:
> That's what I'm doing, but it still takes time to move a large file...
Moving a file on the same partition is done in constant time. No problem.
Moving to other disk/partition or copying might cause troubles.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

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


Re: Upload directory

Posted by Scott Yeadon <sc...@anu.edu.au>.
That's what I'm doing, but it still takes time to move a large file...
Antonio Gallardo wrote:

>Scott Yeadon dijo:
>  
>
>>Hi,
>>
>>Is it possible ot turn off Cocoon's cleaning up of the upload-directory?
>>If someone uploads a large file (100+MB) I don't want to have to copy it
>>just to protect it from Cocoon!
>>    
>>
>
>You can move it. ;-)
>
>Best Regards,
>
>Antonio Gallardo
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


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


Re: Upload directory

Posted by Antonio Gallardo <ag...@agssa.net>.
Scott Yeadon dijo:
> Hi,
>
> Is it possible ot turn off Cocoon's cleaning up of the upload-directory?
> If someone uploads a large file (100+MB) I don't want to have to copy it
> just to protect it from Cocoon!

You can move it. ;-)

Best Regards,

Antonio Gallardo


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