asp 정말 사람 애먹이네요..

서버마다 세팅이 다른지

예전에 되던소스가 서버를 옮기니 되지 않습니다.

 

내용은 HttpPost 에서 MultipartEntity를 setEntity를 하고나서 execute를 하면

페이지에 접근조차 하지 않습니다.

 try {
 HttpClient httpclient = new DefaultHttpClient();     
 HttpPost httppost = new HttpPost(UrbURL);
 MultipartEntity mp = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE);
 mp.addPart("photo", new FileBody(new File(fn)));  
 mp.addPart("id", new StringBody(bid));
 mp.addPart("pass", new StringBody(pass));
 httppost.setEntity(mp); //엔티티를 안하고 단순 클라이언트를 익스큐트하면 접근이됩니다.
 String response = EntityUtils.toString( httpclient.execute( httppost ).getEntity(), "UTF-8" );
 httpclient.getConnectionManager().shutdown();
 return response;
} catch(Exception e) {
}


 asp는 서버에서 따로 설정할게 있는건가요? 아니면 위에게 틀린건가요..