由网友(姐的气质你、学不来)分享简介:我试图到Amazon S3使用S3-的bash脚本来发送文件。I'm trying to send a file to amazon s3 using the s3-bash scripts.使用这个命令:./s3-put -T ./test2 -k -s ./...
我试图到Amazon S3使用S3-的bash脚本来发送文件。
I'm trying to send a file to amazon s3 using the s3-bash scripts.
使用这个命令:
./s3-put -T ./test2 -k <mykey> -s ./<mysecretkeyfile> /mybucketname
引出:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>MalformedXML</Code><Message>The XML you provided was not well-formed or did not validate against our published schema</Message><RequestId>xxx</RequestId><HostId>xxx</HostId></Error>
你知道吗?我只是想通过庆典发送一个文件。
Any idea? I just want to send a file via bash.
推荐答案
我解决了:斗名需要有附加的文件名,如:
I solved it: the bucket name needs to have the filename attached, like this:
/mybucketname/myfile
所以,完整的命令可能是这样的:
So the complete command could look like:
./s3-put -T ./test2 -k <mykey> -s ./<mysecretkeyfile> /mybucketname/myfile
相关推荐
最新文章