<?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 Multiple Files With a Single Request in Flash</title>
	<atom:link href="http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/</link>
	<description>Thoughts of an Interactive Developer</description>
	<lastBuildDate>Mon, 22 Feb 2010 21:24:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Tom Gerhardt</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-445</link>
		<dc:creator>Tom Gerhardt</dc:creator>
		<pubDate>Mon, 22 Feb 2010 21:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-445</guid>
		<description>thanks so much, works well!</description>
		<content:encoded><![CDATA[<p>thanks so much, works well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micah</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-444</link>
		<dc:creator>Micah</dc:creator>
		<pubDate>Mon, 01 Jun 2009 19:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-444</guid>
		<description>Thanks for this.  I tried playing (briefly) with Neer&#039;s package, but the reliance on XML sockets (and the associated security issues) made it a pain.  Using the built-in URLLoader functionality in your example was much friendlier.

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for this.  I tried playing (briefly) with Neer&#8217;s package, but the reliance on XML sockets (and the associated security issues) made it a pain.  Using the built-in URLLoader functionality in your example was much friendlier.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-443</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 14 Mar 2009 01:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-443</guid>
		<description>Hi borf. It sounds like you may be having the encoding issues that Vincent pointed out initially.

Sorry I didn&#039;t get around to it sooner, but I&#039;ve now updated to include the fixes he mentioned. You can grab the latest build from the updated link at the bottom of the post.

Let me know if you still get any errors.</description>
		<content:encoded><![CDATA[<p>Hi borf. It sounds like you may be having the encoding issues that Vincent pointed out initially.</p>
<p>Sorry I didn&#8217;t get around to it sooner, but I&#8217;ve now updated to include the fixes he mentioned. You can grab the latest build from the updated link at the bottom of the post.</p>
<p>Let me know if you still get any errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: borf</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-442</link>
		<dc:creator>borf</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-442</guid>
		<description>Great addition to the community thanks! I am trying to post one file with this to an ASP page and I am getting the &quot;Invalid procedure call or argument: &#039;MidB&#039;&quot; error which is commonly due to the encoding type being wrong. I looked at the URLRequest in the debugger and everything appears ok. Ideas?</description>
		<content:encoded><![CDATA[<p>Great addition to the community thanks! I am trying to post one file with this to an ASP page and I am getting the &#8220;Invalid procedure call or argument: &#8216;MidB&#8217;&#8221; error which is commonly due to the encoding type being wrong. I looked at the URLRequest in the debugger and everything appears ok. Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-441</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 13 Feb 2009 01:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-441</guid>
		<description>Awesome! Thank-you ;) Just what I was wanting to do!!</description>
		<content:encoded><![CDATA[<p>Awesome! Thank-you <img src='http://blog.mikestead.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Just what I was wanting to do!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-440</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 03 Feb 2009 23:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-440</guid>
		<description>Appreciate the feedback Vincent, and I&#039;m glad it was of some use to you. I&#039;ll get those fixes up and tested soon.</description>
		<content:encoded><![CDATA[<p>Appreciate the feedback Vincent, and I&#8217;m glad it was of some use to you. I&#8217;ll get those fixes up and tested soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vincent</title>
		<link>http://blog.mikestead.me/upload-multiple-files-with-a-single-request-in-flash/comment-page-1/#comment-439</link>
		<dc:creator>vincent</dc:creator>
		<pubDate>Tue, 03 Feb 2009 16:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikestead.co.uk/2009/01/04/upload-multiple-files-with-a-single-request-in-flash/#comment-439</guid>
		<description>hi,
first of all thanks for the code, it really helped me.
Second this code works great with a php backend but unfortunatly not with a java or a rails one (less tolerants).
there are two changes to make in URLRequestBuilder.as:
- the LF character for a network transaction is &#039;\r\n&#039; and not &#039;\n&#039;
- in the iteration in encodeMultipartFile the FIRST time you call encodeMultipartVariable, the encoding function called (either encodeMultipartFile, encodeMultipartString) should NOT write LF at the beginning. Otherwise you have three LF between the http header and the body which result in a broken boundary.
With those fixes it works great.

Vincent</description>
		<content:encoded><![CDATA[<p>hi,<br />
first of all thanks for the code, it really helped me.<br />
Second this code works great with a php backend but unfortunatly not with a java or a rails one (less tolerants).<br />
there are two changes to make in URLRequestBuilder.as:<br />
- the LF character for a network transaction is &#8216;\r\n&#8217; and not &#8216;\n&#8217;<br />
- in the iteration in encodeMultipartFile the FIRST time you call encodeMultipartVariable, the encoding function called (either encodeMultipartFile, encodeMultipartString) should NOT write LF at the beginning. Otherwise you have three LF between the http header and the body which result in a broken boundary.<br />
With those fixes it works great.</p>
<p>Vincent</p>
]]></content:encoded>
	</item>
</channel>
</rss>

