How to upload a file and save it in a physical path
Maybe it is a basic question but how can I upload a file and save it anywhere on the server's hard drive? I know how to upload a file to zope's database but not how to save it locally... Anyone can help please? Thanks in advance Remy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Remy Pinsonnault wrote:
Maybe it is a basic question but how can I upload a file and save it anywhere on the server's hard drive? I know how to upload a file to zope's database but not how to save it locally...
Anyone can help please?
You might check out Chris McDonough's "Blob" product: http://plope.com/software/blob/ Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC2Efy+gerLs4ltQ4RApRLAJ0QLSrEoBJ9t5R27T33WU4nJpNJlwCgn7SO Xt2ypnl1QmcR/O+7wDet3hU= =Uh5l -----END PGP SIGNATURE-----
Why use Blob when there's ExtFile? I don't understand the difference. On 7/16/05, Tres Seaver <tseaver@palladion.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Remy Pinsonnault wrote:
Maybe it is a basic question but how can I upload a file and save it anywhere on the server's hard drive? I know how to upload a file to zope's database but not how to save it locally...
Anyone can help please?
You might check out Chris McDonough's "Blob" product:
http://plope.com/software/blob/
Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC2Efy+gerLs4ltQ4RApRLAJ0QLSrEoBJ9t5R27T33WU4nJpNJlwCgn7SO Xt2ypnl1QmcR/O+7wDet3hU= =Uh5l -----END PGP SIGNATURE-----
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
On 17 Jul 2005, at 11:27, Peter Bengtsson wrote:
Why use Blob when there's ExtFile? I don't understand the difference.
Did you follow the link and read the description? For one, Blob also hooks into the Zope transaction machinery, to maintain transactional integrity. I doubt ExtFile does... jens
Remy Pinsonnault wrote:
Maybe it is a basic question but how can I upload a file and save it anywhere on the server's hard drive? I know how to upload a file to zope's database but not how to save it locally...
Anyone can help please?
There are several products to do this: LocalFS, ExtFile/ExtImage, ExternalFile, and more. There are other methods (like writing an External Method and using Python's file methods) as well. All of this has been discussed on this list and elsewhere, and are otherwise described on the web. --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com/ Enfold Systems, LLC http://www.enfoldsystems.com
participants (5)
-
J Cameron Cooper -
Jens Vagelpohl -
Peter Bengtsson -
Remy Pinsonnault -
Tres Seaver