I'm trying to send a file to amazon s3 using the s3-bash scripts.
Using this command:
./s3-put -T ./test2 -k <mykey> -s ./<mysecretkeyfile> /mybucketname
leads to:
<?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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With