>Hi
>
>We want to read very large file (30 meg for example) with FoxPro and split this file in section of 5 meg. This section will be send and join again at the other end. We want the best way to read the file and split.
>
>Mike
You could use string manipulation functions (FileToStr() and StrToFile(), or LLFF. IMO, LLFF are more efficient for large files, since you don't read the entire file at a time, and therefore don't risk running out of real RAM (and using virtual memory). However, I didn't try to read such large chunks at a time (of course, you can also read smaller chunks, and then combine them).
The relevant LLFF in this case are: fopen(), fclose(), fread(), fwrite(), feof().
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)