I need to customize AX to load an arbitrary file with arbitrary size and save it to database as a container field. I also need to read back from that container field and write the content into a file, which should contain exactly the same file content as before load.
I had tried with BinaryIO, unfortunately with no luck
The answer to this question applies.
Especially you should use the system class
BinDataand the methodsloadFileandsaveFile.
Example: this job copies the
notepadprogram to a temporary directory.