Hi I\'m trying to read all files from a given server. What I want to do:
I tr
So if I understand correctly, you have the list of all the folders in the folder you need to read, but now you need specific files from each folder?
Then why don't you create a for-loop?
for (int i = 0; i < [contentlist count]; i++
{
//do your trick to get the file in the folder
//save it
}
EDIT: If you mean you get the files from your Mac instead of the server you need, then you should change the line contentsOfDirectoryAtURL:directory to something like contentsOfDirectoryAtURL:@"http://localhost/myserver/.