[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: check if file exists
- From: Markus Huber <pulse@...>
- Date: Sun, 24 Nov 2002 13:00:24 +0100 (GMT)
Any ideas how to check the existence of a file?
Or better read the object type e.g.:
0 doesn't exist
1 is a file
2 is a directory
3 is a link (I don't know the exact name of this type)
Independent of the file access attributes!
I feel that very few further functions are needed to make Lua a great
language for file manipulation. Like read/set access rights and read
directory entries.
--
Markus