you just need to send the correct file-type header with the blob data

On Monday, January 16, 2017 at 7:59:02 PM UTC, Grant MacDonald wrote:
>
> Hi folks.  We have a Microsoft Access application that we are migrating to 
> a web based application with node.js on the backend.  There are a few Blob 
> fields in the backend SQL/Server database that can be either PDF, JPG, MSG, 
> etc. format.  We are trying to figure out the best way to handle the blob 
> data:
>
> 1) Do you convert the blob to a file on the server (node.js) side and send 
> the URL of this file to the client?  
> 2) Or...send the blob data to the client and let the client handle the 
> formatting?  (the .MSG format is a bit of a challenge as it is supposed to 
> open Outlook when they click on it)
> 3) For storing these files as blobs in the database, I presume we use 
> something like formidable to read the data and then store it in the 
> database blob field.
>
> Any help or examples appreciated. 
>
> Thanks. Grant. 
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/89915253-6c1b-4aab-8e73-d999b276db7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to