Get contents from file more than 10MB

The module N/file can be used to fetch the details from the file. Normally we can fetch the content by file.getContent() property and have a 10 MB file size limitation. If we have more than 10 MB file can be iterated by line by line using file.lines.iterator() propety. File.lines.iterator() var iterator = invoiceFile.lines.iterator(); //Skip the… Continue reading Get contents from file more than 10MB