Creating File in NetSuite File Cabinet using NetSuite Create Snap

I have various types of binary files such as word document, Excel, PDF, images etc. stored in MySQL DB as blob storage. I am transferring this files to NetSuite File Cabinet using NetSuite Create snap and selecting File as record type. The problem is that when I run the snap, it is only creating partial files on NetSuite. For e.g. I have one PDF file of 21KB but on NetSuite it is only creating PDF file with size of 6Bytes hence it is a corrupted file. How do I make sure the file is getting transferred correctly from MySQL blob to NetSuite File cabinet?
image


image