Quote:
Originally Posted by Steake
Well I could put it on another thread...
But it matters not-
I need to retrieve a directories contents.. It's not HTML, it's a directory so I need to enumerate that.
Does anybody know how to do that?
Thanks so much
Steake.
|
I would use a server-side script that turns the directory listings into a JSON string and prints that. Then you just grab the URL in your iphone app and decode the json. Voila, you've got an array of filenames. (Or whatever other kind of data structures you need.)