[opencms-dev] uploaded files storage: fs or vfs?
Joe Desbonnet
jdesbonnet at gmail.com
Mon Jul 10 22:27:01 CEST 2006
Real files pros: very easy to implement, fast.
Real file cons: no direct support for file ownership (the files will
all be owned by the JVM user). You will need to backup these files as
well as your database for a complete backup.
VFS pros: supports file properties, user model. Only your database
needs to be backed up.
VFS cons: slow(er). More difficult to implement.
Joe.
On 7/10/06, Patricio.Keilty <patricio.keilty at gmail.com> wrote:
>
> Hi all!
> our site should let Guests users upload files (just a couple of KB each) for
> later download, i?m not sure what?s the most convenient place to store them:
>
> a- server fs folder
> b- opencms vfs (download gallery)
>
> option a would require access to the fs folder from within jsps or java
> classes, to write files and read from it.
> Option b would require a loged in user to write a vfsFile, and publish
> afterwards so to make it available online.
>
> Which option would you recommend and why?
>
> TIA,
> Patricio.
>
> --
> View this message in context: http://www.nabble.com/uploaded-files-storage%3A-fs-or-vfs--tf1920284.html#a5257536
> Sent from the OpenCMS - Dev forum at Nabble.com.
>
>
> _______________________________________________
> 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