Re: Can core data save to a remote file?
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 22:05:34 -0700
On 13 Mar '08, at 9:48 PM, Kyle Sluder wrote:
HTTP doesn't support writing.
It does, actually. That's what the PUT method does; Tim Berners-Lee
saw writeability as an important part of the Web architecture. But
everyone just ignored poor PUT, until a few years ago when the
buzzword "REST" was coined. It's now used in a number of protocols to
write to a server over HTTP, for example the Atom Publishing Protocol.
If you want to store the persistent store on a remote server, mount
the
filesystem using WebDAV, AFP, SMB, NFS...
You don't need to mount a filesystem — just save the store to a temp
file and use NSURLConnection to PUT or POST the file somewhere
(provided the server supports it.)
—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