Dropbox SDK for iOS, get remote directories and contents
I have a remote directory with several subdirectories and files in them on Dropbox.

**remote side:**

    -Mobile Profiles *(root)*
    -- Custom Profiles
    --- File1
    --- File2
    --- File3

Uploading the files and directories / and subdirectories with files is not a problem. I am having a brain fart when it comes to getting the subdirectories and their contents from dropbox to the device.

put
--
    -(void)backupCustomProfiles {
        for ( NSString *file in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:MP_CUSTOM error:&error] ) {
            [self.restClient uploadFile:file toPath:@"/Mobile Profiles/Custom Profiles/" fromPath:EasyStrings(MP_CUSTOM,file)];
        }
    }

get
--

    -(void)restoreCustomProfiles {
        for ( ) {
            /* ? */
        }
    }

I am not sure how to iterate through the subdirectories on the remote side.
Dropbox SDK for iOS, get remote directories and contents
===

I have a remote directory with several subdirectories and files in them on Dropbox.

**remote side:**

    -Mobile Profiles *(root)*
    -- Custom Profiles
    --- File1
    --- File2
    --- File3

Uploading the files and directories / and subdirectories with files is not a problem. I am having a brain fart when it comes to getting the subdirectories and their contents from dropbox to the device.

put
--
    -(void)backupCustomProfiles {
        for ( NSString *file in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:MP_CUSTOM error:&error] ) {
            [self.restClient uploadFile:file toPath:@"/Mobile Profiles/Custom Profiles/" fromPath:EasyStrings(MP_CUSTOM,file)];
        }
    }

get
--

    -(void)restoreCustomProfiles {
        for ( ) {
            /* ? */
        }
    }

I am not sure how to iterate through the subdirectories on the remote side.