qiniu / ruby-sdk

Qiniu Resource (Cloud) Storage SDK for Ruby
MIT License
164 stars 138 forks source link

上传的文件内容被修改 #175

Closed dongli closed 7 years ago

dongli commented 7 years ago

我使用如下语句上传tar文件:

code, result = Qiniu::Storage.upload_with_token_2(
      uptoken, "#{ConfigStore.package_root}/#{tar_name}", tar_name, nil,
      bucket: Bucket)

然而上传后的文件内容竟然被修改了。。

Binary files 1/lib/libz.1.2.8.dylib and 2/lib/libz.1.2.8.dylib differ
Binary files 1/lib/libz.1.dylib and 2/lib/libz.1.dylib differ
Binary files 1/lib/libz.a and 2/lib/libz.a differ
Binary files 1/lib/libz.dylib and 2/lib/libz.dylib differ
diff -r 1/lib/pkgconfig/zlib.pc 2/lib/pkgconfig/zlib.pc
1c1
< prefix=/opt/starman/software/zlib/1.2.8/236f890ed937aab14cf5925db5a4b6b2689509e6
---
> prefix=/opt/starman/software/zlib/1.2.8/3c9e326570a52e31e447f7842c1a4f6727c7ee03
longbai commented 7 years ago

我们不会修改的,要不把源文件 给我们,我们这边跟进看下