急!!!!!!!!在线等。。
我怎么把图片,和图片描述通过http post 到服务器上。
我用了CHTTPFormEncoder
iFormEncoder->AddFieldL(KPostImageTitle, imagetitle);
iFormEncoder->AddFieldL(KPostImageDes, imagedes);//图片描述
iFormEncoder->AddFieldL(KPostImageTag, imagetag);
iFormEncoder->AddFieldL(KPostUserName, username);
iFormEncoder->AddFieldL(KPostUserPwd, userpwd);
iFormEncoder->AddFieldL(KPostImageData, aImage);//图片的
上传不能成功。
不知道是不是
_LIT8(KPostContentType, "text/plain");
SetHeaderL(hdr, HTTP::EContentType, KPostContentType);
设置问题。
请大家帮忙,谁做过类似的功能。
急,,在线等。