0

My brain is just going to hang, I am working on same method for .....

OK, I am working on an upload code which will upload the file to the server, which is successfully working

now what I need as fallows:

started with an example-->suppose I have a file named file.txt, whose size is 30MB, when I read the contents of the file it will give me all the 30MB it contains. In the sendSynchronousRequest method I want to give request upto 10mb of data and aging calling the same thing unless it reaches at the last point of file. (in brief I want to use a loop to send the request part by part to the server

-I need to seed data with small small chunk of total file to the server -In server I need a relevant PHP to Append the contain and put in to one file at the end of request

so can anyone help me a with a relevant php and objective c code ?

waiting for your quick response !!!!

4

1 回答 1

1

至于解决方案,请创建一个多部分表单请求并通过同步请求来完成。至于代码,在这里发布会有点过分:)

于 2012-05-22T13:29:49.157 回答