hi,
i have created a plist file other than the default one that exists. Can i upload this plist file onto the server
I tried ASIFormDataRequest. I was able to upload the image and text file but when i try it with plist it throws error at point shown in bold:
Code:
networkQueue = [[ASINetworkQueue queue] retain];
NSString *filePath = [[[NSBundle mainBundle]
resourcePath] stringByAppendingPathComponent:
[@"test" stringByAppendingString:@".plist"]];
ASIFormDataRequest *request =[ASIFormDataRequest
requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ignore"]];
[request setPostValue:@"my_test" forKey:@"share_test"];
[request setFile:filePath
withFileName:[test stringByAppendingString:
@".plist"] andContentType:@"propertylist/plist" forKey:@"mytest"];
[request setDelegate:self];
[request setDidFailSelector:@selector(requestFailed:)];
[request setDidFinishSelector:@selector(gotTheResponse:)];
[networkQueue addOperation: request];
[networkQueue go];
is it really possible? or should i go ahead with xml though plist is also an xml format
but still i want to know and what should i do?