search for: fileblob

Displaying 2 results from an estimated 2 matches for "fileblob".

2012 Dec 21
0
segfault reading large BLOB from SQL Server
...been working fine when reading from this same database. I have included relevant parts of the session below. Each row of the v_MAFiles view holds a text, html or pdf version of a document. The FileType entry is one of TXT, PDF, or HTML. If it's PDF, the FileString variable is empty and the FileBLOB holds the (binary) contents of the pdf. If FileType is TXT or HTML, then FileBLOB is empty and the file contents are in FileString. Note that the COLUMN_SIZE for FileBLOB and FileString are both 2 GB. However, the actual strings and blobs in there are actually only about 60 KB. I can read the Fi...
2012 Mar 04
4
How to retrieve a FileBlob from 'ActionDispatch::Http::UploadedFile' instance?
I have used ''remotipart'' gem to upload files asynchronously to server side. The instance passed to the server side is of ''UploadedFile'' . The Rails API mentions all the methods( like read(), open() ) and attributes for the class, however I am not sure how to retrieve the File and store it on the database. The documentation hardly says anything. Googling