使用InputStreamEntity 邊讀取邊上傳文件

HttpClient httpclient = new DefaultHttpClient();HttpPost httppost = new HttpPost("http://localhost/upload");File file = new File("/path/to/myfile");FileInputStream fileInputStream = new FileInputStrea
相關文章
相關標籤/搜索