I want to write a iphone SDK program to download and upload files from server. Server application is written in php.
But I m confusing following points in client application.
1) How can I download the file from server
2) How can I store it in iphone (accessing iphone file system)
3) How can I display all file in a directory to the users.
Can anybody help me ?
Create an NSURL
Fetch the data with NSData
Save it to a file with the same NSData object
Use NSFileManager to list the files in the folder
This will give you an array of NSStrings with the names of the files in the folder.