Using _files Not Able To Send File To Php Server
I am trying to send values to PHP server but always,i get HTTP REsponse 200 and in my server i am not getting the value i sent,dont know what is the issue following is my snippet c
Solution 1:
you can refer this nice tutorial "Android Uploading Camera Image, Video to Server with Progress Bar"
Solution 2:
Try specifying the length of the file in the header. It seems some servers may reject the file if there is no Content-Length header. E.g.:
conn.setRequestProperty("Content-Length", Integer.toString(fileInputStream.available()));
Post a Comment for "Using _files Not Able To Send File To Php Server"