|
Mailing Lists
|
Home /
Groups /
Railo
File listing in Linux (Railo) Server
Author: Jibu S
Short Link: http://www.houseoffusion.com/groups/railo/thread.cfm/threadid:1794#5577
Hi
I am using the code for listing files in a directory
<cfdirectory name="filesDetails"
action="list"
directory="#GetDirectoryFromPath(expandPath('public'))#public/">
(use full in widows)
I am using linux(Railo) server
i want to list the files in the directory as
File Size Permission
-------- ---- --------------
test.txt 4 kb -rw-r--r-- (0644)
index.html 80 kb -rwxrwxrwx (0777)
file name and size are available from the filesDetails (<cfdirectory>)
but i dont get the permission (or mode) of the files in that format.
Thanks
|
June 18, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||