Table of Contents

Chunking

The communication between Business Central and the print and file service is based on HTTPS. This has many infrastructure benefits, but it also has some limitations. One of these limitations is the maximum request and response size. To remove this limitation, the communication was modified to use chunking, which means that it can break down big messages into smaller bites.

Even though the chunking makes transferring large amounts of data possible, keeping the operations as small as possible is still recommended. Collecting a large response back in Business Central uses memory and relatively slow streams. Therefore, limiting your requests and responses to a maximum of around 50 MB is still a good idea.

Remember that files can be read and written from and to specific positions using the file API. Therefore, you can easily work with large files and limit your data transfers at the same time.

Note

Chunking was introduced in version 7.4.0.3 of the ForNAV extensions and version 7.4.0.2576 of the binaries.