Retrieve server's file list

yoachan

Member
I wan't to make a download program that automatically display some files on server on a specific directory (e.g. all files that begins with "07March" that located in '/wrk/download/'). I can't do it manually for files will be added in the directory few times a day, and the file list MUST ALWAYS be up to date each time user reload their page.

I've tried using OS-COMMAND("ls > filelist.txt") to retrieve the list to a text file (and planning to import them later) but it shows no result on webspeed. though it actually worked in text-mode.
can anyone help?
thanks in advanced.
 
Back
Top