Hi,
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
start
This file is use for some
column1 : red, colum2 : green
end
column1,column2
aa,ccccc
bbb,hhhh
ddd,ggg
Hi ,
Can you please update on this ....
Hello,
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,
Dmytro.