简体   繁体   中英

Get A List of all files's url from a Website Directory in Iphone / IOS and store them in NSMutableArray

I Want to list all the file's urls. Files are present on a website. They are in a public directory in a website. No Ftp access is required to access the urls. So no ftp based programming is needed.

For example- www.mysite.com/myimages/(multiple files)

I want to store All the files URL path in NSMutableArray. Can anybody assist me or explain me the proper way to do this in iphone using objective c.

Hope to Get a Solution, Thank You, Tuhin Bhatt

I think below approach will be one to solve the problem.

You have to make a simple web-service api that will simple return the all url links in json / xml format. Then you parse the response and store those in a NSMutableArray

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM