开发者社区> 问答> 正文

【10月28日】OSS存储服务升级公告。API文档及SDK开发包已更新

10日28日OSS存储服务已完成升级工作,本次版本增加Object Group等功能。

API文档及SDK开发包已更新。

下载  请访问 开发者指南  -   API文档下载  “ http://oss.aliyun.com/guide/details?id=253

展开
收起
newegg11 2011-10-28 19:17:53 15142 0
8 条回答
写回答
取消 提交回答
  • 全面部分都ok,可是 PutObjectFromFile
    !!!初始变量
    static String upFilePath = "g:/alidata/updata/up.rar";
        static String downFilePath = "g:/alidata/downdata/down.rar";
        static String bucket = accessKeyId.toLowerCase() +"-test-buchet";
        static String object = accessKeyId.toLowerCase() + "-test-object";
        static String group = accessKeyId.toLowerCase() + "-test-group";

    ----- GettObjectWithIfMatch ------
    Success
    ----- GetObjectInputStream ------
    OSS Sample
    ----- GetObjectInputStreamWithRange ------
    Date:Mon, 21 Nov 2011 08:05:56 GMT
    Server:AliyunOSS
    x-oss-request-id:2a5bd7f2-6698-e261-387c-f2877a6c7b52
    Last-Modified:Mon, 21 Nov 2011 08:05:56 GMT
    ETag:"9BF156C2C16BB90B9EC81C96FE37EF1B"
    Connection:close
    Accept-Ranges:bytes
    Content-Range:bytes 0-5/10
    Content-Length:6
    Content-Type:text/plain
    OSS Sa
    ----- PutObjectWithUserMeta------
    Success
    ----- GetObjectMeta -----
    x-oss-request-id:5a4cc6b4-645c-8bc4-2b83-f8b95b63a452
    ETag:"9BF156C2C16BB90B9EC81C96FE37EF1B"
    Date:Mon, 21 Nov 2011 08:06:19 GMT
    Content-Length:10
    Last-Modified:Mon, 21 Nov 2011 08:06:16 GMT
    x-oss-meta-id:123
    Content-Type:text/plain
    Connection:close
    Server:AliyunOSS
    ----- IsObjectExists -----
    true

    ----- PutObjectFromFile -----
    2011-11-21 16:23:11 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
    信息: I/O exception (java.net.SocketException) caught when processing request: Software caused connection abort: socket write error
    2011-11-21 16:23:11 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
    信息: Retrying request
    Exception in thread "main" org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing request can not be repeated.
        at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:487)
        at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at com.aliyun.oss.api.OSSClient.execute(OSSClient.java:130)
        at com.aliyun.oss.api.OSSClient.request(OSSClient.java:168)
        at com.aliyun.oss.api.OSSClient.objectOperation(OSSClient.java:206)
        at com.aliyun.oss.api.OSSClient.putObjectFromInputStream(OSSClient.java:829)
        at com.aliyun.oss.api.OSSClient.putObjectFromFile(OSSClient.java:775)
        at com.aliyun.oss.api.OSSClient.putObjectFromFile(OSSClient.java:745)
        at OssSample.main(OssSample.java:219)
    2011-11-21 16:31:06
    赞同 展开评论 打赏
  • 没有.net版?遗憾!
    2011-11-20 17:31:56
    赞同 展开评论 打赏
  • 什么时候有php啊。急啊
    2011-11-14 12:19:38
    赞同 展开评论 打赏
  • 介绍里说有PHP的嘛?咋没有啊?
    2011-11-05 23:20:28
    赞同 展开评论 打赏
  • TO  wf141732    你好:

    请问您目前所在的地区是哪里?

    下载地址刚刚我又测试了一次~~ 我这里没问题呢~~
    2011-11-04 11:21:29
    赞同 展开评论 打赏
  • 下载不了,链接地址有问题
    2011-11-03 16:35:16
    赞同 展开评论 打赏
  • Java API开发包,解压不了啊,有问题!!!
    2011-11-02 15:20:59
    赞同 展开评论 打赏
  • 不会用啊
    2011-10-31 17:03:15
    赞同 展开评论 打赏
滑动查看更多
问答排行榜
最热
最新

相关电子书

更多
一个跨平台的云服务SDK需要什么 立即下载
云存储之OSS实战进阶分享 立即下载
OSS运维进阶实战手册 立即下载