开发者

How can I upload a file from an iPad to a web server (upload servlet)

I'm writing an iPad application that mimics a flash website I built. The site uses Flash file uploader to upload files from the user's filesystem to my tomcat server.

I understand that an iPad application can sync files via iTunes to a Documents folder. Given access to those files, how ca开发者_JAVA百科n I invoke a file upload of a selected file to the web.


From what I find in tomcats docs, the file upload just works like a standard HTTP file upload as a POST request with a multipart/mixed body. RFC1867

To construct such a request you could use ASIHTTPRequest or see this question

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜