I have converted a FM12 database to FM15.
I have a filename in a field. I have created a new container field "Document" which is set for External/Open Storage.
I run the attached script and my file size blows up (from 300mb to 20gb); obviously telling me the files are embedding and storing externally.
The files are going into the Open Storage path that I have set.
What am I doing wrong?