# Extracting data from mysql blobs and save to filesystem

**URL:** <https://www.ruby-forum.com/t/extracting-data-from-mysql-blobs-and-save-to-filesystem/111233>\
**Category:** Rails\
**Created:** [August 4, 2007, 2:05am UTC](https://www.ruby-forum.com/t/extracting-data-from-mysql-blobs-and-save-to-filesystem/111233 "2007-08-04T02:05:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jawosis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Post date:** [August 4, 2007, 2:05am UTC](https://www.ruby-forum.com/t/extracting-data-from-mysql-blobs-and-save-to-filesystem/111233/1 "2007-08-04T02:05:27Z")

</div>

whats the best way to extract binary data from a mysql blob field  
and save in to the filesystem?

my intention is to extract some mysql blob fields, save them to  
disk, tar and gzip them and serve them with send\_data.

nice if there would be a way to do this in memory without using files.

–  
Jochen K.
