• 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: Can core data save to a remote file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can core data save to a remote file?


  • Subject: Re: Can core data save to a remote file?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 13 Mar 2008 21:42:34 -0700


On 13 Mar '08, at 8:38 PM, Adam Gerson wrote:

I see that persistentStoreCoordinator just uses an NSURL which is great for remote reading because I can pass it an http url.

Not necessarily. There are APIs in the system that take URLs, but only work with file: URLs. (For example, NSDocument.) I don't know whether CoreDate supports the HTTP protocol, but I'd be surprised if it did.


For one thing, writing to an http: URL requires a WebDAV server, or at least one running a custom CGI that supports the PUT method. That's not typical (apart from .mac.) Usually files get uploaded to web servers using FTP or ssh, for which you need a different URL.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can core data save to a remote file? (From: "Adam Gerson" <email@hidden>)

  • Prev by Date: Re: sorting large tables
  • Next by Date: Re: newb problem- Currency Converter app problem- Can't Add ConverterController Class to Nib
  • Previous by thread: Can core data save to a remote file?
  • Next by thread: Re: Can core data save to a remote file?
  • Index(es):
    • Date
    • Thread