writing a file
Posted: Sat Nov 25, 2006 10:14 am
Hi, i want know how can i know how many lines has a txt files that im reading. I need know that before work over it.
My problem is that my server doesnt allow me to enable a determinate ip mine to conect from my pc (using mysql administrator) to the server to do the backup here in my pc. I know how to write a txt file, but the bd is like 230mb. I was thinking in a system that write up to (for example) make a file of 1mb and then it done continue the backup in other file. Do im clear? that i need is how to control rigurously how many data i wroted and i would write in the next line and thus each time.
My problem is that my server doesnt allow me to enable a determinate ip mine to conect from my pc (using mysql administrator) to the server to do the backup here in my pc. I know how to write a txt file, but the bd is like 230mb. I was thinking in a system that write up to (for example) make a file of 1mb and then it done continue the backup in other file. Do im clear? that i need is how to control rigurously how many data i wroted and i would write in the next line and thus each time.