How do I find the number of items in a directory

Get help using Construct 2

Post » Fri Jun 26, 2015 3:40 am

Hi all,

So....I want to be able to show the number and name of items in a folder/directory hosted on my server to any person using the interface.
Basically this would work like a library inventory . The user would put in their name hit a button and the next layout would show the contents of a folder that has their name as its handle. ( John's Folder ) has x.pdf y.pdf and abc.pdf. So if another pdf say mmm.pdf is added it would show mmm.pdf as well.

Any help with plugins, JavaScript or any tutorials would be most apreciated.

Posts: 57
Reputation: 1,289

Post » Fri Jun 26, 2015 10:55 pm

I don't believe that you can do that on Javascript. If you use Java, you can "walk the file tree."
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
Posts: 1,419
Reputation: 4,867

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests