Hi Tim
I currently pass a folderitem to CSVParser and let it read the file itself. I’ve used the debugger to verify the whole file is read and it even parses that last line. But when it hits EoF before finding an end of line it exits and doesn’t raise the HandleLine event to pass out the parsed data.
I’ve considered adding code to check for a line ending and modify the file, but that seems like a bandaid and I was hoping someone may have already fixed the root issue.
RFC-4180 the CSV file format specification says it’s optional to have a line ending at the end of file.
The last record in the file may or may not have an ending line
break. For example:
aaa,bbb,ccc CRLF
zzz,yyy,xxx