Flat File Streaming API

With SuiteScript 1.0, it's challenging to access files larger than 10MB. You'd have to split big files into smaller ones to read, write, or append their contents in memory.

The SuiteScript 2.x Flat File Streaming API lets you efficiently process and stream large CSV and plain text files. You can load and edit each line in memory, then place the lines back together. The 10MB limit now only applies to individual lines, not the whole file.

For additional information, see N/file Module.

Related Topics

General Notices