我曾经是一个快乐的s3cmd用户。然而最近当我尝试传输一个大约7G的压缩文件到亚马逊S3时,我遇到了这个错误:
$> s3cmd put thefile.tgz s3://thebucket/thefile.tgz
....
20480 of 7563176329 0% in 1s 14.97 kB/s failed
WARNING: Upload failed: /thefile.tgz ([Errno 32] Broken pipe)
WARNING: Retrying on lower speed (throttle=1.25)
WARNING: Waiting 15 sec...
thefile.tgz -> s3://thebucket/thefile.tgz [1 of 1]
8192 of 7563176329 0% in 1s 5.57 kB/s failed
ERROR: Upload of 'thefile.tgz' failed too many times. Skipping that file.
我正在使用最新的Ubuntu版本的s3cmd。
为什么会这样?我该如何解决它?如果无法解决,是否有其他替代工具可用?
s3cmd put
的返回代码中返回0
(甚至是后续版本)。不要将s3cmd
用于关键操作。 - Antti Haapala -- Слава Україні