Verify a file exists

Ed Hilovsky lgf at lgfcomputers.net
Wed Mar 16 18:23:44 PDT 2011


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

Ed Hilovsky
LGF Computers

lgf at lgfcomputers.net



More information about the Filepro-list mailing list