[opencms-dev] large file area in FS space rather than VFS
Ruben Malchow
ruben at khm.de
Mon May 8 18:30:59 CEST 2006
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
>
More information about the opencms-dev
mailing list