Verify a file exists
Scott Walker
ScottWalker at RAMSystemsCorp.com
Wed Mar 16 18:34:55 PDT 2011
Ed asked:
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
Scott says:
How about trying the "exists" function?
Regards,
Scott
More information about the Filepro-list
mailing list