Can you try manually placing a known good archive on the server, and then downloading from code? Sounds to me your upload process is probably to blame.
On 10 Jan 2010, at 00:44, Development wrote: > Well it gives me the error on any iPhone including the one that created the > file. > But I am using standard keyed archiving. I was under the impression that the > data was serialized and transportable. > When I receive the file it's through an NSURL request. So what is handed off > from the methods is data. I have also tried dataWithContentsOfURL though. At > least if memory serves that is the method name. > > > On Jan 9, 2010, at 5:31 PM, Mike Abdullah wrote: > >> >> On 9 Jan 2010, at 23:10, Development wrote: >> >>> I am trying to transport data after being encoded with the coder. The >>> problem is that when I get it on the other end I'm being told that the data >>> is invalid. Does the coder on the iPhone not work the same as the one in >>> MacOSX? >>> >>> The basic transport I am using is just a post to a url done with the built >>> in handlers. The file 'seems' fine on the server but when downloaded by the >>> same or any other iphone I get the error that it's invalid. >> >> Key point there: "any other iphone." You're almost certainly doing part of >> the upload or download wrong, not the file itself. Perhaps trying to treat a >> binary plist as text? >> > _______________________________________________ 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 arch...@mail-archive.com