Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-07-2010, 07:07 PM   #10 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
jsd is on a distinguished road
Default

Quote:
Originally Posted by Steake View Post
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.)
jsd is offline   Reply With Quote
 

» Advertisements
» Online Users: 499
18 members and 481 guests
AH24, ArthurOff, baja_yu, bignoggins, dbramhall, djohnson, Falcon80, fanarin, Feldspar, habitatus, myach, Nobbsy, PavelSea, pbart, Sami Gh, skog, Thompson22, Warblr
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,427
Threads: 94,023
Posts: 402,575
Top Poster: BrianSlick (7,978)
Welcome to our newest member, shakiraeb60
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:02 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.