• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cannot get the content of a file (in iPhoto Library)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot get the content of a file (in iPhoto Library)


  • Subject: Cannot get the content of a file (in iPhoto Library)
  • From: Jean Bovet <email@hidden>
  • Date: Thu, 18 Sep 2003 15:23:21 +0200

Hello,

I'm trying to read the content of every iPhoto library image with the [NSFileHandle fileHandleForReadingAtPath:]. Everything works well except for some file which I cannot get the content (the method returns a NULL value). I have checked the file permission and I have added some line of code before reading the file (with the following results):

- +[NSFileManager fileExistsAtPath:] returns YES.
- +[NSFileManager isReadableFileAtPath:] returns YES.
- +[NSFileManager contentsAtPath:] returns NO !!

The last call returns NO. I don't understand why ? Has anybody an idea about this problem ?

Thanks in advance.

Jean Bovet

----------------------------------------------------
Jean Bovet
Sablons 35 Voice: (++41 32) 725 39 04
2000 Neuchatel mailto:email@hidden
Switzerland http://www.curvuspro.ch

Cofounder of Arizona
Software Developper
Curvus Pro - the reference for curves & graphs
http://www.curvuspro.ch
----------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cannot get the content of a file (in iPhoto Library)
      • From: Tito Ciuro <email@hidden>
  • Prev by Date: Re: OpenGL performance (Cocoa)
  • Next by Date: Cannot read file content (sorry!)
  • Previous by thread: Re: NSDraggingInfo to DragRef
  • Next by thread: Re: Cannot get the content of a file (in iPhoto Library)
  • Index(es):
    • Date
    • Thread