main logo
Subject: Re: Low Level very large file copyI have the reuirement
Author: Dan Covill
Posted: 2003/11/30 13:48:00
 
View Entire Thread
New Search


Bryan:

As others have pointed out, FoxPro cannot deal with a file more than 2 GB
long. This includes low level IO. It will not work.

I suggest two alternatives:
a) Outside VFP (i.e., Windows), use some other program to break the file
into segments <= 2GB, then process those in VFP. (I never do this, so have
no specific ideas. <g>)

b) There are probably Windows API calls that will deal with a large
file. Call those from VFP to break the file into 2GB segments, then use
low-level I/O to process them.

Dan Covill
San Diego


At 16:53 11/30/03 +1030, bryan wetton wrote:

>I have the requirement ( don't ask why ) to transfer a 20Gb file via
>low-level code.
>
>I had code that was working for smaller files but this size broke it.
<snip>




 
©2003 Dan Covill
<-- Prior Message New Search Next Message -->