storing files external from Zopedatabase
regards, how is it possible to upload and store files external from the database of Zope? I've got a lot of pdf-files to store and the maximum of 2GB space isn't fare away then. [Zope can only store 2GB all in all, or not?] so- how do I upload and store files external? [Do I have to define a new product or is there already one?] thx, Christian
On Fri, 20 Jul 2001, C. Koehler wrote:
how is it possible to upload and store files external from the database of Zope? I've got a lot of pdf-files to store and the maximum of 2GB space isn't fare away then. [Zope can only store 2GB all in all, or not?]
This limit was only with certain versions of Linux.
so- how do I upload and store files external? [Do I have to define a new product or is there already one?]
Either create an external method which stores your files outside of Zope or use the LocalFS Zope Product. bye, Jerome Alet
On Fri, 20 Jul 2001, C. Koehler wrote:
regards, how is it possible to upload and store files external from the database of Zope? I've got a lot of pdf-files to store and the maximum of 2GB space isn't fare away then. [Zope can only store 2GB all in all, or not?]
so- how do I upload and store files external? [Do I have to define a new product or is there already one?]
Look at ExtFile or LocalFS. They're different strategies, but both will let you serve content not in the ZODB. (or, if you want your entire site to be from the filesystem, you could use FileStorage or such.) -- Joel Burton <jburton@scw.org> Director of Information Systems, Support Center of Washington
Hi, --On Freitag, 20. Juli 2001 11:06 +0200 "C. Koehler" <chrkoehler@gmx.net> wrote:
regards, how is it possible to upload and store files external from the database of Zope? I've got a lot of pdf-files to store and the maximum of 2GB space isn't fare away then. [Zope can only store 2GB all in all, or not?]
No. Thats not a zope thing. Zopes default storage is FileStorage, which writes all object data into this Data.fs file. The process is limited by the underlying system. If your clibrary, which is used by python only supports 2GB files (signed longint pointers) so FileStorage is limited by this. On other systems, it is not. You can use another system, patch your system for bigger files, use another storage. As example Shane did write an experimental multi file storage, which distributes the one Data.fs over multiple files, thus suppressing the limit. Another solution would be using more then one storage with mount in the ZODB (seach for ZODB and mount). Just some hints. Regards Tino
so- how do I upload and store files external? [Do I have to define a new product or is there already one?]
thx, Christian
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
C. Koehler -
Jerome Alet -
Joel Burton -
Tino Wildenhain