I need your help regarding below problem.
For example : I will receive a csv file.( File size is unknown to me). I have to upload the same in an application. But i cant upload a file having filesize more than 1 MB at a time so i want to split the original file into multiple files(each file either same or less than 1 MB). Header should be present in child files same as parent file. Please help me with the best solution.