AmazonClientException: Data read has a different length than the expected

前端 未结 4 1766
礼貌的吻别
礼貌的吻别 2020-12-19 09:56

1.When I am using AmazonS3Client to upload file on amazon s3 file store. 2.when I am trying to upload multiple files at a time it gives exceptions: but same file multiple th

4条回答
  •  借酒劲吻你
    2020-12-19 10:09

    This answer was wrote from the guy of AWS Hanson:

    Is it possible that the input stream that is specified in the request has already been fully read?

    If the input stream is a file stream, have you tried specifying the original file in the request instead of the input stream of the file?

提交回复
热议问题