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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to