• 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
Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any ~/Sites/ equivalent of NSDocumentDirectory?


  • Subject: Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • From: Thomas Deniau <email@hidden>
  • Date: Sun, 31 Aug 2003 10:02:50 +0200

On Sat, 30 Aug 2003 20:23:05 -0400, Michael Mulligan wrote:
> I'm trying to make an application that needs to copy some files into the
> ~/Sites directory and so I'm trying to search the domain for the Sites
> directory rather than hard-coding a path

Maybe you can try to parse /etc/httpd/httpd.conf, locate the UserDir
line and parse it ?

--
Thomas Deniau

"Unix is user friendly. It's just selective when choosing friends."
_______________________________________________
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.

References: 
 >Any ~/Sites/ equivalent of NSDocumentDirectory? (From: Michael Mulligan <email@hidden>)

  • Prev by Date: Re: C
  • Next by Date: Re: How does one use NSTimer?
  • Previous by thread: Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • Next by thread: Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • Index(es):
    • Date
    • Thread