>There's any way to list files using lua? luaposix doesn't handle getdents. lposix has "dir" and "files". See test.lua and tree.lua in lposix.tar.gz, which you can get at http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/ . --lhf