modify main.go with ak, sk, endpoint, bucket 和key dd if=/dev/urandom of=/tmp/test1.txt bs=1M count=20 dd if=/dev/urandom of=/tmp/test2.txt bs=1M count=30 or others install s3cmd add config .s3cfg go build -o ./s3example ./main.go bash retry.sh