1. rajini011981's Avatar
    Hello Experts,
    I have a very basic question.
    How can i access the graphic files downloaded using safari in objective C?
    I used
    listOfItems = [NSMutableArray alloc initWithArray:[[NSFileManager defaultManager] directoryContentsAtPath:@"/private/var/mobile/Library/Downloads/" pathsMatchingExtensions:NSArray arrayWithObjects:@"GIF", @"JPG" , nil]]
    But it not works, not displaying any file.
    Could you please advice that how can i access them?
    Thank you.
    11-11-2009 12:06 PM
  2. RedPix's Avatar
    With the published API, your application cannot access the file system outside of the application folder.
    11-17-2009 06:35 AM
  3. flyingember's Avatar
    open a stream to the website in question and download them from there
    12-02-2009 12:25 PM
LINK TO POST COPIED TO CLIPBOARD