Displaying directory contents

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Simon
Ebase User
Posts: 25
Joined: Thu Aug 27, 2009 9:43 am
Location: Hampshire County Council
Contact:

Displaying directory contents

#1

Postby Simon » Wed Jan 20, 2010 1:50 pm

Hi all

I'm attempting to write a small app that will display a list of all files in a directory. I have found the osfiles() function, which is rather nice, however there a couple of limitations that I'm trying to overcome:

1) osfiles() doesn't seem to recognise network drives, only the local disk.
2) The function returns all directory contents as a list, therefore I can only display the files as a drop-down box or as radio buttons. I'm wondering if there's a way of either converting the list to a table, or concatenating all entries as a string.

I could probably write a custom function to do this, but there are certain... bureaucratic... issues within my organisation that prevent me from doing this at this time. If anyone can think of any other ways around either of these issues, I'd be extremely grateful :D

Thanks a lot
Simon
0 x

Who is online

Users browsing this forum: No registered users and 118 guests