NodeMCU Lua file.writeline(): File Size Limit?
Posted: Fri Sep 08, 2017 6:56 pm
Hello! I am trying to get around the 1460 byte (?) size limit on payload sizes when trying to serve HTML from my NodeMCU, and doing so by writing the generated HTML to a file -- which I will then read back and feed to the server one-line-at-a-time.
My problem is that it appears as though I can only write 1k (?) of data before it ignores any other additions. My guess is that if I merely uploaded a pre-existing file, that no such limitation would exist. So, if I am creating my own file using 'file.writeline()' statements, is there some limit that I am currently unaware of?
Thanks!
My problem is that it appears as though I can only write 1k (?) of data before it ignores any other additions. My guess is that if I merely uploaded a pre-existing file, that no such limitation would exist. So, if I am creating my own file using 'file.writeline()' statements, is there some limit that I am currently unaware of?
Thanks!