title: How to upload a file to server with synchronous request?
body: <p>My brain is just going to hang, I am working on same method for .....</p>
  
  <p>OK, I am working on an upload code which will upload the file to the server, which is successfully working </p>
  
  <p>now what I need as fallows:</p>
  
  <p>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</p>
  
  <p>-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 </p>
  
  <p>so can anyone help  me a with a relevant php and objective c code ?</p>
  
  <p>waiting for your quick response  !!!!</p>