🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Skip CSV lines

kamepalli asked on March 24, 2017

Reading remote CSV file which is generating other application. In this CSV file before header some information data is there. I want to skip n-number lines.
I want to skip first 4 lines in below file. Can you please suggest on this.
Example CSV file
This file is use for some
column1 : red, colum2 : green

2 answers

kamepalli March 25, 2017

Hi ,
Can you please update on this ….

Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 27, 2017

Thank you for your question. We can suggest you using our Flexmonster Compressor tool. Flexmonster Data Compressor is a special server-side compression tool that helps you to increase data loading speed from server to customer’s browser. It will stream your data right to the component. The steps are bellow:
1. Read the necessary lines of your .CSV file as a string on the server-side.
2. Pass the string to the Compressor.compressString() method and then stream the data from the server to the component.
Here is the guide for using Compressor for Java – http://www.flexmonster.com/doc/connecting-to-relational-database-with-java/, also you can find the guide for .NET and PHP.
Please let us know if everything works fine for you.
Best regards,

Please login or Register to Submit Answer