PDA

View Full Version : Retrieve filesize larger than 2Gb with GetFileInfo



Paul Boerefijn
05-07-2004, 05:36 PM
:confused:

I want to retrieve the size of datawarehouse files, which are much larger than 2 Gb. I used the following syntax:

GetFileInfo (svFile, FILE_SIZE, nvSize, svResult);

However, the nvSize NUMBER variable can not report more than 2,147,483,647 bytes. There is no way to query kb or Mb's, only bytes.......

(NUMBER: Signed four-byte integer. It can hold any value between -2,147,483,648 and +2,147,483,647. )

Is there someone who knows an other way to retrieve this large filesizes?