Try running listdir on the directory before checking for the file maybe?
Thanks for the tip. It looks very promising
I tried to use stat() to check the size. That didn't work.
I used remove(). It did remove the file. But when I tried to verify the result against true or ~=nil it didn't seem to fail if the file wasn't there.
Now I'm using open() to check the file before remove(). That WORKS!
Thanks again!