|
@@ -26,10 +26,9 @@ public class FastDFSClient {
|
|
|
logger.info("File Name: " + file.getName() + "File Length:" + file.getContent().length);
|
|
|
|
|
|
// 设置元信息
|
|
|
- NameValuePair[] meta_list = new NameValuePair[3];
|
|
|
+ NameValuePair[] meta_list = new NameValuePair[2];
|
|
|
meta_list[0] = new NameValuePair("name", file.getName());
|
|
|
meta_list[1] = new NameValuePair("ext", file.getExt());
|
|
|
- meta_list[2] = new NameValuePair("author", file.getAuthor());
|
|
|
|
|
|
long startTime = System.currentTimeMillis();
|
|
|
String[] uploadResults = null;
|