<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Upload a file to S3 with Boto</title>
	<atom:link href="http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/feed/" rel="self" type="application/rss+xml" />
	<link>http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/</link>
	<description>watching the world turn.</description>
	<lastBuildDate>Fri, 03 Sep 2010 23:32:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joel</title>
		<link>http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/comment-page-1/#comment-2134</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Wed, 06 Jan 2010 19:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://ferrouswheel.me/?p=409#comment-2134</guid>
		<description>It&#039;s possible to send just a string with:

&lt;code&gt;boto.s3.key.Key.set_contents_from_string&lt;/code&gt;

But if you want to use the same Http request, you&#039;ll have to look at how &lt;code&gt;boto.s3.key.Key.send_file&lt;/code&gt; works.

Note that if you keep the socket open it means that there is no guarantee that the s3 key object will be updated until after the request completes. And if you wait too long between writes then S3 might close the connection...</description>
		<content:encoded><![CDATA[<p>It&#8217;s possible to send just a string with:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:470px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">boto.s3.key.Key.set_contents_from_string</div></div>
<p>But if you want to use the same Http request, you&#8217;ll have to look at how</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:470px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">boto.s3.key.Key.send_file</div></div>
<p>works.</p>
<p>Note that if you keep the socket open it means that there is no guarantee that the s3 key object will be updated until after the request completes. And if you wait too long between writes then S3 might close the connection&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/comment-page-1/#comment-2131</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 06 Jan 2010 17:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://ferrouswheel.me/?p=409#comment-2131</guid>
		<description>Is it possible to write a few bytes to the S3 outgoing socket every so often (rather than giving it a file to transfer?)</description>
		<content:encoded><![CDATA[<p>Is it possible to write a few bytes to the S3 outgoing socket every so often (rather than giving it a file to transfer?)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
