Part[] parts = {new FilePart("filedata", new File(filePath)),
new StringPart("Filename", "GE0223.mpeg"),
new StringPart("name", "10001a.mpeg"),
new StringPart("modifyTime", "1301021316000"),
new StringPart("folderId",caseid),
new StringPart("vehicleTypeCode","小型汽车号牌")
}; //父单位ID
PostMethod filePost = new PostMethod("####################/file.go"); //构造请求
filePost.addRequestHeader("Cookie", sessionIDByPost); //为请求设置cookie