I need to get filesize of my fle on local disk byt I don't know how exactly do it I need exct value in bytes for my HTTP request (parameter RANGE). Please help. Thanx. Radim
Posted on 2001-06-09 12:55:00 by raguru
First load the file with CreateFile (you probably already did), then call GetFileSize with the handle returned by CreateFile:

invoke GetFileSize, hFile, NULL
; filesize is in eax now
Thomas
Posted on 2001-06-09 13:31:00 by Thomas
Thanx Thomas!!!! Please check my code inNetwork section of this forum. Thanx Radim.
Posted on 2001-06-09 15:33:00 by raguru