049 Export Database BLOB Fields Into Files

Use File System Writer when database BLOB data needs to become real files again.

Advanced ETL Processor
4.9 ★★★★★ Based on 16 reviews on Capterra See all reviews on Capterra →

Advanced ETL Processor can export database BLOB fields into separate files with File System Writer. This is useful for documents, images, XML messages, attachments, and the usual database table that quietly became a filing cabinet.

What You Will Learn

  • Read BLOB data from a database source.
  • Write each BLOB value into a separate file.
  • Use source fields to control output file names.
  • Compare exported files with original files when testing.

Before You Start

Export a few sample records first. If the file name field is wrong, you want to find that before creating a folder full of mystery files.

File System Writer Docs For BLOB Export

The File System Writer saves data from a source into separate files. For this tutorial, the source is a database BLOB field and the output is one file per record.

The writer can save file content, append data to existing files, or delete files depending on the configured target behaviour. For BLOB export, pay close attention to the output directory and file name fields. Databases do not mind vague names. File systems do.

When testing BLOB workflows, export sample records and compare the resulting files with the originals. We have tested files up to 100 MB across supported databases, but the practical check is still simple: save it back out and verify it opens correctly.

Need Advanced ETL Processor First?

Download the Advanced ETL Processor trial before following the tutorial, or review Enterprise if you need scheduled unattended execution.