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: "Kyle Sluder" <email@hidden>
- Date: Fri, 14 Mar 2008 01:10:34 -0400
On Fri, Mar 14, 2008 at 1:05 AM, Jens Alfke <email@hidden> wrote:
> 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.)
POST isn't usable for this: "The action performed by the POST method
might not result in a resource that can be identified by a URI. In
this case, either 200 (OK) or 204 (No Content) is the appropriate
response status, depending on whether or not the response includes an
entity that describes the result."
PUT would be the working option, but nobody has PUT enabled without WebDAV.
--Kyle Sluder
_______________________________________________
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