Re: blobs

[email protected] (Dave Rolsky) Thu, 29 Aug 2002 02:37:35 -0500 (CDT)
Newsgroups perl.books.workers
Message-ID <[email protected]>
On Thu, 29 Aug 2002, Iain Truskett wrote:

> > This shouldn't be necessary if you are storing raw image data, actually.
>
> That's what I thought, but it didn't appear to be working.

You're using Postgres, right?  Either the server or the driver is broken
with respect to binary data containg "\0", I believe.

> Well, part of the idea is that all that ever changes on the site is the
> db. If I'm wanting to write images to disc from my components (since one
> of the other ideas is that it's fully maintainable via the web), I'll
> need to be able to write to disc.
>
> Which is doable I suppose. It makes things easier in some respects. I'll
> confer with Robrt.
>
> In essence: assume that we can't (and don't want to) scp/ftp stuff.

But you can handle file uploads, I'm sure.  I maintain the
apprentice.perl.org site and help out with jobs.perl.org, and with both of
them we can write to disc.  Else how could you add new components?


-dave

/*==================
www.urth.org
we await the New Sun
==================*/