Page 1 of 1

Retrieve FileSize

Posted: Wed Jan 16, 2008 1:39 pm
by Widgetman
Hi,
I wanted to see if anyone knew a easy way to use the SDFileSysytem routines to easily get a size of a file stored on the SD Card. I looked thru the functions and did not specifically see a getfilesize routine. Any help or comments would be appreciated.
Thanks

Posted: Wed Jan 16, 2008 2:51 pm
by octal
From help file

function FileSize () as longword
FileSize returns the size (in Bytes) of a file opened for reading with OpenFile.
Regards
octal

Filesize

Posted: Wed Jan 16, 2008 2:55 pm
by Widgetman
Thanks for the help. I did not see it