incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Kuprianov <>
Subject Re: the fastest way to upload attachments
Date Tue, 21 Aug 2012 02:11:39 GMT
What is your setup?

Basically you would usually upload file first, save it in in some temporary
directory and then attach your existing couch document. After that the
attachment can be either done with cURL directly, or you can use some
helper library to do it. In my case, I use PHP-On-Couch (

On Tue, Aug 21, 2012 at 9:32 AM, Goog Cheng <> wrote:

> Hey,pal! a common way to upload attachments to CouchDB is to ajax a form
> including a file, I wanna know the fastest way to upload attachments. Does
> it need to apply a backend(I like the RESTful).Any guidance would be
> greatly appreciated.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message