File exist
From Erlang Community
The function filelib:is_regular/1 could be used to verify that an file do exist or dose not exist.
Here is a example:
case filelib:is_regular(FileName) of
true ->
io:format("File exist.\n");
false ->
io:format("File dose not exist.\n")
end
|

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

