[opencms-dev] large file area in FS space rather than VFS

Siegfried Puchbauer siegfried.puchbauer at gmail.com
Tue May 16 09:18:45 CEST 2006


Yes, this approach sounds interesting... I've used a workaround when I faced
that problem: I "linked" files from the rfs via XML Content definitions and
streamed them by getting the top response object.

brgds

sigi

On 5/8/06, Ruben Malchow <ruben at khm.de> wrote:
>
>
> hi chris,
>
> the actual reason for this is that there's no way of getting an
> output/input stream from or to a resource. this means that all data will
> have to be in memory, then written to the resource or read from the
> database into memory and then passed to the frontend respectively.
>
> thus the actual limit for files is the maximum length of a byte[] (which
> i am not sure about at the moment ... 2gig?) or the maximum amount of
> available memory, which is, in most cases, the more interesting limit.
>
> i thought about writing a module that maps resources to blobs that can
> be read and written using streams. anyone interested?
>
> regards
>
> ruben
>
>
> Christoph P. Kukulies wrote:
> > I need to provide a kind of download area with unlimited file
> > size for individual users.
> > My understanding is that the VFS only allows for relatively small files
> > (up to some tens of MB - http file transfer limit or what is the actual
> > reason for this?).
> >
> > So how can I integrate an exported area in my web sites' physical
> > file system while maintaining user protection between users.
> >
> > In the VFS I can set a visibility property IIRC, allowing me to let
> > certain users "see" only files they are allowed to, am I right on this?
> >
> >
> > --
> > Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



-- 
Mit freundlichen Grüßen

Siegfried Puchbauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060516/c3fccdd3/attachment.htm>


More information about the opencms-dev mailing list