Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4405
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Zope with mySQL |
| Date | 2011-05-01 09:38 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | <31499628.post@talk.nabble.com> <00or88-n7n.ln1@hawthorn.home> <31515759.post@talk.nabble.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1041.1304267950.9059.python-list@python.org> (permalink) |
On Sat, 30 Apr 2011 23:43:35 -0700 (PDT), harryjatt
<harpreet442@yahoo.co.in> declaimed the following in
gmane.comp.python.general:
>
> SORRY, i think that you are not happy with my elaboration. I am trying to
> generate a code for uploading and downloading the pdf files to mysql by web
> application through zope. but i can not make it right. I want your
> assistance in this.
All you've given is a statement of your intended implementation. You
have failed to explain WHAT you need help with?
MySQL?
Zope?
Upload?
Download?
Among other things -- I wouldn't bother using MySQL to store PDF
files themselves; you'd be stuck with handling translation of the files
in/out of BLOBs. If you need the database to associate files with
particular users (or other metadata), I'd store a file name (as supplied
in the upload) along with a local (server-side) generated file name, and
save the actual PDF on the file system using the generated name (using a
generated name means no conflicts if two users upload the same real file
name).
Are you able to generate HTML that will produce upload or download
without using Zope?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Zope with mySQL harryjatt <harpreet442@yahoo.co.in> - 2011-04-28 12:19 -0700
Re: Zope with mySQL Tony <tony10@ximera.net> - 2011-04-29 22:42 +0100
Re: Zope with mySQL harryjatt <harpreet442@yahoo.co.in> - 2011-04-30 23:43 -0700
Re: Zope with mySQL Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-01 09:38 -0700
Re: Zope with mySQL Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-04-30 20:33 +0200
csiph-web