Changes between Version 5 and Version 6 of API/BBS/Upload-Picture


Ignore:
Timestamp:
04/21/2011 11:05:01 AM (15 years ago)
Author:
lee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • API/BBS/Upload-Picture

    v5 v6  
    106106}}} 
    107107 
    108  
    109  
    110 陈小虎(陈小虎) 10:22:50 
    111         /* 
    112         MultipartEntity reqEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE); 
    113         reqEntity.addPart( 
    114                 "file",     // 上传form的input标签名称 
    115                 new FileBody(new File("C:\\data\\path0\\m.jpg"))); 
    116          */ 
    117  
    118         // Content-Type: application/octet-stream  
    119         FileEntity reqEntity = new FileEntity(new File("C:\\data\\path0\\m.jpg"), "application/octet-stream"); 
    120 陈小虎(陈小虎) 10:22:58 
    121 好了。 
    122 陈小虎(陈小虎) 10:24:24 
    123 http://test745.pconline.com.cn:9192/uploadcenter/upload_simple.jsp?application=yidong&ext=jpg 
     108|| filename || ASCII || 
     109|| MIME || .jpg .bmp .png || 
     110|| max-width || 500 ||