擅长:python、mysql、java
<p>你不能用boto来做这件事,因为你所要求的仅仅是客户端——除了生成要发布的表单之外,服务器没有直接的参与。在</p>
<p>您需要使用的是Amazon的<a href="http://doc.s3.amazonaws.com/proposals/post.html" rel="nofollow noreferrer">browser-based upload with POST</a>支持。有一个演示<a href="http://s3.amazonaws.com/doc/s3-example-code/post/post_sample.html" rel="nofollow noreferrer">here</a>。在</p>