k.
shawn, the fileStream does not work in KF.
I think it was already fixed once?
grr.

anyway, trying with my local code, with $filestream.setLength:
Code:

$system = createobject("kixforms.system")
$500MB = 500 * 1024 * 1024
@time ?
$FileStream = $system.FileStream(@scriptdir+"\someFile.dat",$system.FileMode_Create)
$FileStream.SetLength($500MB)
$FileStream.Close()
@time ?
getfileSize(@scriptdir+"\someFile.dat") ?
get $


results in:
Quote:


20:42:03
20:42:03
524288000





that is, it took less than a second to create a 500MB file on my old slow laptop system.
it's just damn shame that current build of kixforms does not work.
_________________________
!

download KiXnet