Downloaded graphics from safari

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.

Since you try to access /var/mobile, I assume this is related to iPhone/iPod Touch. Your application cannot access files outside its chroot jail.

Similar Messages

  • Download items from Safari's Activity window DEAD OS X.7 Lion

    Downloading items from Safari's (5.1) Activity window DEAD- Mac OS X.7 Lion
    Aargghhh this was brilliant before for grabbing stuff and not working now,
    all i get is a massive amount of text showing up and no download anymore.
    Yup you can download an earlier version (5.0.6) but Lion will not swallow it
    tried pacifist to open the old package but even that fails.
    thought i could find it inside and run it.
    so....
    what now?
    is there a way round this?
    a third party plug in!
    something?
    anyone got any idea how to sort this out?
    so i can grab filmclips pictures etc...
    just like before.

    I thought I was the only person who was grieving the loss of this feature. I used it mostly for downloading PDFs as preview handles them so much better than shoddy propriety viewers, or even the "preview in safari" mode. During my degree it was invaluable to me as it also let me save these files into folders and keep them for referencing later.
    To further exlpain; it was one of the features which set Safari out from the rest. The activity window shows all the different elements of the website which are either being loaded or which have been downloaded. It will show elements of javascript, images, music, PDFs etc embedded in the page including videos and the like.
    Within that activity window, you can also see (and copy!) the DIRECT LINK address of each element of the page. ie: Where the actual media files are being hosted, downloaded or streamed from. Certain sites disable this feature for protected works, as they are entitled to do so, but the vast majority allow it.
    When we had a separate downloads window, instead of this overlay box in the Lion safari, it enabled the end user to copy the DIRECT LINK in the activity window using Ctrl + C and do the following:
    1) Either paste it into the address bar to watch/ listen to the media free from the other elements of the page which waste memory/ get in the way
    2) Paste it into the "Downloads" window (Using Ctrl + V) which would instantly start downloading the file, as if you had clicked a "Download file ABC Now" link on a web page.
    With the loss of the download window, only option 1 is available. This means that only images and certain formats of video/ audio will be viewable off the website in question ie: ones that quicktime can play. And the current version of quicktime embedded within safari doesn't give you the option to "Download a copy" or "Save as" like older versions used to.
    This may necessitate a revisiting of Firefox, which has a "Media browser" function.
    I wonder if there is perhaps a bookmarklet out there which forces a download of whatever is dragged onto it. Any ideas?

  • HT3258 After downloading Mac OS X I can no long download photos from Safari to iPhoto.  How do I fix this problem?

    I downloaded Mac OS X Mountain Lion and now I can't download photos from Safari to iPhoto.

    Open iPhoto and then try it. I got the same error message you did when I tried to download an image. iPhoto then opened and I was able to add the image. Not exactly perfect.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • I have iPad Air. I want to download games from safari but safari cannot download the file.so what should I do??

    I have iPad Air. I want to download games from safari but safari cannot download the file so what should I do??

    Hamzy 15 wrote:
    And what about the music?
    Music comes from the iTunes Store or by Syncing with your computer.
    >  http://support.apple.com/kb/HT1386

  • I have iPhone 4s and ever since I got it I can't download anything from safari its not slowing me to

    I have iPhone 4s and ever since I got it I can't download anything from safari its not allowing me to get any program from line

    Oh ok but I thought that apple is better then windows but actually is way slower and a lot of the applications don't work unless you buy them and then even if you buy them there slow on working properly .

  • How to save downloaded files from safari for offline use?

    Need help how to save downloaded PDF or images from Safari for offline use. On Mac or PC, we "save as" the files. How do you do it on safari on iPhone?

    You can't detach email attachments as separate files, though you can view supported formats as attachments. If you're viewing webmail with Safari, the attachments aren't saved on the iPhone.
    Apple hasn't made any announcements about new feature for the iPhone and rarely does. The other iPhone users in this user-to-user forum have no access to unannounced Apple plans, and speculation about them is prohibited by the forum Terms of Use.
    If you want to make a suggestion to Apple, post it on the iPhone Feedback page:
    http://www.apple.com/feedback/iphone.html
    Message was edited by: modular747

  • Trouble downloading anything from Safari!

    OK, so here's my problem. Whenever I try to download something from a webpage using Safari or any other web browser, I get an error message in the download window that reads for example: "Safari can't show the file "iPodUpdate2006-01-10.dmg" in the Finder. Safari can't show the file "iPodUpdate2006-01-10.dmg" in the Finder because the file hasn't been created yet." That's just an example, but anything I click that uses that download window comes up with that same message. Please help.

    Hi, Sean, welcome to Apple's user-to-user discussion forums.
    Do you have problems regardless of website or just with specific ones? If the problems only occur with specific pages, could you paste the address in a reply so we can take a look?
    What happens if you Option-Click on a file to download it directly?
    What other browsers have you tried besides Safari?
    What happens if you try downloading from a new user account? To create a new account, open System Preferences and click on Accounts. You may have to click on the padlock and give your admin name and password to create an account. Click on the plus sign in the lower right corner to create the new account. I see no reason to give it a password. You can delete this account later using using the minus key, although I have kept my second account to use for testing (the user folder only takes up 32 kb).

  • I can't see downloaded wallpapers from Safari or other apps in my Photos folder

    Only the pictures that I click from the camera are being seen in the camera roll and the older wallpapers. None of the new pictures downloaded from Safari or other apps are seen. I tried deleting some photos, hoping that there must be a limit on the number of photos one can keep in the folder, but even that didn't help.
    Can someone tell what is the issue over here? I am using an iPhone 4.

    Hello Breede,
    After reviewing your post, it sounds like you cannot receive MMS messages. I would recommend that you read this article, it may be able to help the issue.
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • How to download anything from safari

    im not able to download any app or music from safari why is it so and how to resolve it please help me...

    You cannot download anything through safari. Apps come from the App Store icon and music through the iTunes icon.

  • I didn't set any password during setup of Lion, but now when I want to download stuff from safari, it asks me for password? plz help

    I bought a new macbook air pre loaded with Lion. while setting up the system, I just input the user name, and didn't set any password.
    But now when I wanna download stuff off safari, it asks me for password. The user name appears (the same one which I set) but it keeps on asking me the password which I never set. Can some one please help me. Thanks!

    I did it like that, but for the purpose of not having to type my password every time since I'm installing a lot of programs, and yes, it asks for the password, but do not type anything and just click "ok" or "install", since you haven't set a password it should let you go through. I guess it asks for the "password" just to let you know it will install something, but just click ok.
    I will set up a password once i have install everything in System Preferences/Users & Groups
    Hope it helps...

  • Downloading photos from safari to the iPod touch.

    Is there a way to download photos from the web onto the iPod touch?

    No but next month Apple will allow third party apps

  • Need a way to get downloads option from safari on dock.

    I accidentally deleted my downloads option for safari on my dock. It is also no longer in my finder. Is there a way for me to get it back?

    Open a Finder window and see if Downloads is in the sidebar. If it is not, go to Finder Preferences and click Sidebar at the top of Preferences window to show it in the sidebar. Once you see it in the sidebar, right-click the Downloads (control - click or 2 finger tap on touchpad) and choose "Add to Dock."

  • I can't download anything from Safari and I'm using iPod, HELP!

    Please help, I can't download anything from safari

    More specificially, you may only download files that may be opened by another app.  First install an app that handles the type of file you want to download.

  • When I want to download -anything- from safari, the page just closes 0.0 please HELP!

    please, I need help, when I want to download something with safari, the page just disappears!! 0.0 HEEEELP!!

    Launch the Console application by entering the first few letters of its name into a Spotlight search, and look under "User Diagnostic Reports" for crash logs related to Safari. Select the most recent one and post the contents -- the text, please, not a screenshot.

  • Hey All! i want to download videos from safari..

    i want to download videos from IMD which are trailers mostly....
    how can i do that without or with assistance from third party software?
    am using macbook air mid 2013
    OS mavricks 10.9.1.

    Hamzy 15 wrote:
    And what about the music?
    Music comes from the iTunes Store or by Syncing with your computer.
    >  http://support.apple.com/kb/HT1386

Maybe you are looking for

  • How to keep records in an application

    Hi all, I have a question, may be a silly one. If so I'm really sorry to spending your time. In an application there can be plenty of information display on the console. Following code give an idea to you what i really looking. try{ // do something h

  • Report Output appears diffrently

    Hi, The alignment of the labels Report Output appears differently in the different 3 views: a) Report Output viewed on the screen. b) Report Output viewed on the paper after screen. c) Report Output viewed on the Layout Editor of the Report Writer. I

  • Templates Project Setup and Lease Management Setups don't show up during selection set creation

    Hi, I am new to iSetup. I have just installed iSetup using the Isetup List Of Mandatory Patches For R12 (Doc ID 811040.1) I don't find the following templates needed by my users to create selection sets: - Projects Setup - Lease Management Setups Any

  • $ sign in code of designer

    hello, I have a fundamental question, in evry form or report created by Designer, it creates objects ad triggers using some prefix and a "$", is this for standards or is there a typical reason behind this Vishnu Vadla null

  • Downloading Firefox failed before download is completed

    My problem is downloading Firefox. It started but could not complete. I had downloaded and used Firefox before. Had to delete it as online space was full. Is that causing the problem?