i am sending image via android phone to server , but the server script is in asp classic page which is responsible for reading binary image data and storing it into sql server database.
from android i am sending image using POST method named "file" but in asp classic page its not able to read the POST method parameter.
how can i read the incoming binary data in asp classic page ?
i am sending it using
MultipartEntityBuilder multipartEntity = MultipartEntityBuilder.create();
multipartEntity.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);
String fileName = cur.getString(cur.getColumnIndex(DB.DIST_IMG_URL));
multipartEntity.addBinaryBody("file", bitmapdata,ContentType.create("image/jpeg"),fileName);
if any one can share links to sample for asp classic then it would be much helpful
0 comments:
Post a Comment