filePro/email from Unix script file
Kenneth Brody
kenbrody at bestweb.net
Thu Dec 15 09:09:41 PST 2005
Quoting John Esak (Thu, 15 Dec 2005 02:24:20 -0500):
> Hey Ken,
> Somewhere in here you suggest testing if the file is zero length... I
> had to do just that yesterday... EXISTS does not help, of course, so I
> had to open the file and use FILESIZE().... any chance of adding a
> parameter to EXISTS that will return the size as well as the "exists/
> yes-no"? If so, I'll submit it as a wish-list itme.
[...]
There's no need to open the file and check filesize(). After exists()
says the file exists, simply use @fstat[] to check the size.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list