how to access a folder in documents using iphone
<p>i can access .txt file from documents folder but how to access a folder content  lets say <strong>documents/A</strong></p>

<p><strong>inside A i have ->a.html, update.cfg</strong></p>

<p>now why i cant access <strong>update.cfg</strong>??</p>

<p>i am <strong>getting null value for zipPath</strong></p>

<p>i tried this but no luck</p>

<pre><code>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);

    NSString *aDirectory = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"A"];

        NSString *zipPath = [[NSBundle mainBundle] pathForResource:@"update" ofType:@"cfg" inDirectory:aDirectory]; 
</code></pre>

<p>still <strong>zipPath=NULL??</strong></p>
