lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Björn De Meyer wrote:

> > Markus Huber wrote:

> > Any ideas how to check the existence of a file?

> Try opening the file with read only access.
> If that fails the file does not exist.

Isn't it possible that the file exists with write access only? Or
a protected file without read and write access? The file exists but
opening fails.


--
Markus