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.

Luke
B
10
S
2
Posts: 50
Reputation: 1,100

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."
https://www.ravenheart.ca/home
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."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 6 guests