<?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>Sat, 10 Dec 2011 02:46:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Joel</title>
		<link>http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/comment-page-1/#comment-2571</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Mon, 31 Jan 2011 07:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://ferrouswheel.me/?p=409#comment-2571</guid>
		<description>@Stephen It depends on your console. If it&#039;s ANSI compatible (most are), you can use ANSI escape codes to move the cursor.

http://en.wikipedia.org/wiki/ANSI_escape_code

(search for &quot;cursor position&quot;)

Should be easy enough to implement...</description>
		<content:encoded><![CDATA[<p>@Stephen It depends on your console. If it&#8217;s ANSI compatible (most are), you can use ANSI escape codes to move the cursor.</p>
<p><a href="http://en.wikipedia.org/wiki/ANSI_escape_code" rel="nofollow">http://en.wikipedia.org/wiki/ANSI_escape_code</a></p>
<p>(search for &#8220;cursor position&#8221;)</p>
<p>Should be easy enough to implement&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Reese</title>
		<link>http://ferrouswheel.me/2009/12/upload-a-file-to-s3-with-boto/comment-page-1/#comment-2570</link>
		<dc:creator>Stephen Reese</dc:creator>
		<pubDate>Sat, 29 Jan 2011 20:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://ferrouswheel.me/?p=409#comment-2570</guid>
		<description>Is there a way to make the percentage ticks appear after the printed statement instead of on the next line?

print &#039;Uploading %s to Amazon S3 bucket %s&#039; % \
       (testfile, bucket_name)</description>
		<content:encoded><![CDATA[<p>Is there a way to make the percentage ticks appear after the printed statement instead of on the next line?</p>
<p>print &#8216;Uploading %s to Amazon S3 bucket %s&#8217; % \<br />
       (testfile, bucket_name)</p>
]]></content:encoded>
	</item>
	<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>

