Hi all,
Having a very stupid moment. I can't seem to sort out how to get the size of a file. I have looked through help, and thought ADIR() was on the right track, but can't seem to get it out of that.
What I'm trying to do is get the size of a file, in bytes when I pick a file from GETFILE(). I expected to get the JUSTFNAME() from picking it, and then check against that file where it came from to get its size into some value that I could then do a REPLACE into the table (i.e. REPLACE DOCUMENT.DOCUMENTFILESIZE With lnFileSize where I calculated (string captured) the size from some element that will tell me the file's size.
But I find no function suitable. Any idea how to get this?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
Having a very stupid moment. I can't seem to sort out how to get the size of a file. I have looked through help, and thought ADIR() was on the right track, but can't seem to get it out of that.
What I'm trying to do is get the size of a file, in bytes when I pick a file from GETFILE(). I expected to get the JUSTFNAME() from picking it, and then check against that file where it came from to get its size into some value that I could then do a REPLACE into the table (i.e. REPLACE DOCUMENT.DOCUMENTFILESIZE With lnFileSize where I calculated (string captured) the size from some element that will tell me the file's size.
But I find no function suitable. Any idea how to get this?
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."