Verify a file exists

Kenneth Brody kenbrody at spamcop.net
Thu Mar 17 06:07:34 PDT 2011


On 3/16/2011 9:23 PM, Ed Hilovsky wrote:
> When using Linux filepro, what would be the best method to verify a XML
> file exists ? I tried using an open command for the filename
> ( a= open(D) ) D being defined as the file in question. I check to see
> if a is negative, meaning the file doesn't exist. It doesn't seem to work

DDW.

(And what's with people saying that things don't "seem" to work?)

On the other hand, there's always the EXISTS() function.

-- 
Kenneth Brody


More information about the Filepro-list mailing list