<?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: Uploading to S3 with a FileReference from Flex 3 on OS X</title>
	<atom:link href="http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 18:30:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: ben</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-25981</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 27 Oct 2010 17:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-25981</guid>
		<description>The problem is not so much with the 200 / 201 response -- I can just write a body to those responses and Flash is OK with that -- but with the 100 Continue response, which Flash just doesn&#039;t seem to like no matter what.</description>
		<content:encoded><![CDATA[<p>The problem is not so much with the 200 / 201 response &#8212; I can just write a body to those responses and Flash is OK with that &#8212; but with the 100 Continue response, which Flash just doesn&#8217;t seem to like no matter what.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-25967</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Wed, 27 Oct 2010 00:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-25967</guid>
		<description>I&#039;m having the same problem uploading via YUI Uploader, which is extra fun because it looks like now I have to open up the source and add some error handling so this #2038 error doesn&#039;t interfere with the upload flow.</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem uploading via YUI Uploader, which is extra fun because it looks like now I have to open up the source and add some error handling so this #2038 error doesn&#8217;t interfere with the upload flow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-25487</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Mon, 20 Sep 2010 16:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-25487</guid>
		<description>I&#039;m having the multi-file upload issue in random browsers across different OSs (specifically FF and Flock in Windows). I&#039;ve modifying an uploader that someone else built and uses AS2. Any idea how I can set up strong event listener references in AS2? Having trouble finding the right info on google.

Any help would be greatly appreciated. I&#039;m not overly experienced in flash and it looks like I am the happy recipient of someone else&#039;s problem :/</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the multi-file upload issue in random browsers across different OSs (specifically FF and Flock in Windows). I&#8217;ve modifying an uploader that someone else built and uses AS2. Any idea how I can set up strong event listener references in AS2? Having trouble finding the right info on google.</p>
<p>Any help would be greatly appreciated. I&#8217;m not overly experienced in flash and it looks like I am the happy recipient of someone else&#8217;s problem :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pam</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-24412</link>
		<dc:creator>pam</dc:creator>
		<pubDate>Wed, 16 Jun 2010 11:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-24412</guid>
		<description>On nginx was getting this error for files greater then 1mb. Fixed using the client_max_body_size directive.</description>
		<content:encoded><![CDATA[<p>On nginx was getting this error for files greater then 1mb. Fixed using the client_max_body_size directive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauricio Arango</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-17115</link>
		<dc:creator>Mauricio Arango</dc:creator>
		<pubDate>Thu, 24 Sep 2009 21:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-17115</guid>
		<description>Hi,
Thanks for your post. I have spend countless hours with a related problem.
The most basic fileupload example from the Adobe AS3 Flash CS4 reference doesn&#039;t work in my localhost (os X - Apache). I just realize the example works flawlessly once uploaded to a server and tested there.

I&#039;m afraid of implementing an flash uploader on a commercial project. I don&#039;t know when it will work and when it wont.

I wonder if you would be so kind to describe an answer to address this issue. I&#039;ve been 2 nights without sleep because of this problem.

How can we make sure a fileupload works on most servers? the solution will have to be on the client side because many shared servers don&#039;t allow much tailoring with their settings.

Thanks so much.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for your post. I have spend countless hours with a related problem.<br />
The most basic fileupload example from the Adobe AS3 Flash CS4 reference doesn&#8217;t work in my localhost (os X &#8211; Apache). I just realize the example works flawlessly once uploaded to a server and tested there.</p>
<p>I&#8217;m afraid of implementing an flash uploader on a commercial project. I don&#8217;t know when it will work and when it wont.</p>
<p>I wonder if you would be so kind to describe an answer to address this issue. I&#8217;ve been 2 nights without sleep because of this problem.</p>
<p>How can we make sure a fileupload works on most servers? the solution will have to be on the client side because many shared servers don&#8217;t allow much tailoring with their settings.</p>
<p>Thanks so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Pencola</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-12539</link>
		<dc:creator>John Pencola</dc:creator>
		<pubDate>Wed, 27 May 2009 19:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-12539</guid>
		<description>Thanks for the elaboration! This had me going today trying to track down why I kept getting all those IOErrorEvents even though the uploads were successful One suggestion ( based off the commented AWS code ) is to still handle IOErrorEvents but just do nothing... since based on the Flex/Flash language reference the HTTPStatusEvent always fires prior to an IOErrorEvent, you can do you forked logic there, like so (simplified for readability):
------------------------------------------------------

function onUploadIOError( _event: IOErrorEvent ): void {};

function onUploadHTTPStatus( _event: HTTPStatusEvent ): void
{
	if ( _event.status == 200 &#124;&#124; _event.status == 201 )
	{
		// do upload completed logic...
	}
	else
	{
		// do error logic...
	}
}	
----------------------------------------	
using this approach you don&#039;t have to keep a flag for checking across methods. Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for the elaboration! This had me going today trying to track down why I kept getting all those IOErrorEvents even though the uploads were successful One suggestion ( based off the commented AWS code ) is to still handle IOErrorEvents but just do nothing&#8230; since based on the Flex/Flash language reference the HTTPStatusEvent always fires prior to an IOErrorEvent, you can do you forked logic there, like so (simplified for readability):<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>function onUploadIOError( _event: IOErrorEvent ): void {};</p>
<p>function onUploadHTTPStatus( _event: HTTPStatusEvent ): void<br />
{<br />
	if ( _event.status == 200 || _event.status == 201 )<br />
	{<br />
		// do upload completed logic&#8230;<br />
	}<br />
	else<br />
	{<br />
		// do error logic&#8230;<br />
	}<br />
}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
using this approach you don&#8217;t have to keep a flag for checking across methods. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neethu</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-9950</link>
		<dc:creator>Neethu</dc:creator>
		<pubDate>Mon, 30 Mar 2009 10:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-9950</guid>
		<description>Hi Thanks for the blog. We were struggling with this issue for two days and atlast search in google took us to your blog.Your tips helped us a lot in solving the issue.</description>
		<content:encoded><![CDATA[<p>Hi Thanks for the blog. We were struggling with this issue for two days and atlast search in google took us to your blog.Your tips helped us a lot in solving the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-4425</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 21 Jul 2008 10:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-4425</guid>
		<description>I tried adding this to the policy and I&#039;m getting a security error as well.

// mac fix
buffer.push(&quot;[&#039;eq&#039;, &#039;$success_action_status&#039;, &#039;201&#039;],&quot;);</description>
		<content:encoded><![CDATA[<p>I tried adding this to the policy and I&#8217;m getting a security error as well.</p>
<p>// mac fix<br />
buffer.push(&#8220;['eq', '$success_action_status', '201'],&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tad</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-3627</link>
		<dc:creator>tad</dc:creator>
		<pubDate>Thu, 26 Jun 2008 03:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-3627</guid>
		<description>Hi thanks for the notes.  I have been struggling with this most of the day. I am getting  a security 2049 error.  I have a cross domain file in s3.  I&#039;m using Vista.  I can do it with the form and I already found the 201 xml return status thing, but it is sure frustrating.</description>
		<content:encoded><![CDATA[<p>Hi thanks for the notes.  I have been struggling with this most of the day. I am getting  a security 2049 error.  I have a cross domain file in s3.  I&#8217;m using Vista.  I can do it with the form and I already found the 201 xml return status thing, but it is sure frustrating.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simple Rails Uploader &#124; Nuclear Rooster</title>
		<link>http://dev.nuclearrooster.com/2008/04/05/uploading-with-a-filereference-from-flex-3-on-os-x/comment-page-1/#comment-1777</link>
		<dc:creator>Simple Rails Uploader &#124; Nuclear Rooster</dc:creator>
		<pubDate>Thu, 10 Apr 2008 16:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev.nuclearrooster.com/?p=33#comment-1777</guid>
		<description>[...] was recently trying to implement an upload to Amazon S3, and it wasn&#039;t working. I couldn&#039;t tell if it was the Flex front end, or the S3 [...]</description>
		<content:encoded><![CDATA[<p>[...] was recently trying to implement an upload to Amazon S3, and it wasn&#8217;t working. I couldn&#8217;t tell if it was the Flex front end, or the S3 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

