>>VFP 6.0 Is there a way to programmatically determine the size of a particular file on a drive. My users are constantly adding new .bmp files to the system via a VFP interface. These files should be no larger than 300k. Unfortunately, each day I run across files in excess of 3mg (FILES NOT FORMATTED CORRECTLY, USER ERROR). I want to prompt the user with an error message if the files are too large. Any ideas...
>>
>>TIA
>>
>Hi Rob,
>
>...and another way. If SET COMPATIBLE is set to ON, FSZIE(filename) will also return the file size. The default setting, however, is OFF.
Doh! Make that
FSIZE(filename)
George
Ubi caritas et amor, deus ibi est