<?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: Flex: Multiple File Uploader</title>
	<atom:link href="http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/feed/" rel="self" type="application/rss+xml" />
	<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/</link>
	<description></description>
	<lastBuildDate>Wed, 23 Nov 2011 00:11:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: alchemist</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-320</link>
		<dc:creator>alchemist</dc:creator>
		<pubDate>Wed, 03 Aug 2011 08:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-320</guid>
		<description>I think you&#039;ll find the source code is already attached in a zip file</description>
		<content:encoded><![CDATA[<p>I think you&#8217;ll find the source code is already attached in a zip file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincy Oommen</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-319</link>
		<dc:creator>Vincy Oommen</dc:creator>
		<pubDate>Wed, 03 Aug 2011 04:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-319</guid>
		<description>Please provide the complete source code....
which will be useful...</description>
		<content:encoded><![CDATA[<p>Please provide the complete source code&#8230;.<br />
which will be useful&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alchemist</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-57</link>
		<dc:creator>alchemist</dc:creator>
		<pubDate>Mon, 10 Jan 2011 11:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-57</guid>
		<description>How flash interacts with the operating system and actual real OS threads is a completely different discussion.  

Flash applications for all intensive purposes uses a virtual environment for execution, and calls within side code are asynchronous and event driven, which implies multiple operations can be executed simultaneously (at least preceptively).  I have implemented virtual threading using flex timers (events) which allows multiple uploads to execute at the same time, which implies the flash engine is &quot;probably&quot; multiplexing the &quot;virtual thread&quot; code for each upload onto one real OS thread (but that is based on how the Flash engine is implemented).

The benefit of this design is if you have bandwidth shaping on a firewall multiple uploads may allow you to use more bandwidth and hence increase your overall upload speed</description>
		<content:encoded><![CDATA[<p>How flash interacts with the operating system and actual real OS threads is a completely different discussion.  </p>
<p>Flash applications for all intensive purposes uses a virtual environment for execution, and calls within side code are asynchronous and event driven, which implies multiple operations can be executed simultaneously (at least preceptively).  I have implemented virtual threading using flex timers (events) which allows multiple uploads to execute at the same time, which implies the flash engine is &#8220;probably&#8221; multiplexing the &#8220;virtual thread&#8221; code for each upload onto one real OS thread (but that is based on how the Flash engine is implemented).</p>
<p>The benefit of this design is if you have bandwidth shaping on a firewall multiple uploads may allow you to use more bandwidth and hence increase your overall upload speed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alchemist</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-56</link>
		<dc:creator>alchemist</dc:creator>
		<pubDate>Mon, 10 Jan 2011 10:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-56</guid>
		<description>Not currently but it should be fairly straight forward to convert it :)</description>
		<content:encoded><![CDATA[<p>Not currently but it should be fairly straight forward to convert it <img src='http://bytearray.brixtonjunkies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-55</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Mon, 10 Jan 2011 00:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-55</guid>
		<description>You are using threading here. Flash, as far as I know, is under the cover single threaded. Does multi-threading help in terms of through put of uploads or does flash plugin end-up switching between each thread by constantly stopping and restarting uploads for each thread and end up using the same amount of bandwidth? Almost like a pump that has 4 intakes for water but a single pipe to push water out.</description>
		<content:encoded><![CDATA[<p>You are using threading here. Flash, as far as I know, is under the cover single threaded. Does multi-threading help in terms of through put of uploads or does flash plugin end-up switching between each thread by constantly stopping and restarting uploads for each thread and end up using the same amount of bandwidth? Almost like a pump that has 4 intakes for water but a single pipe to push water out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-52</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Wed, 27 Oct 2010 18:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-52</guid>
		<description>Does example works in AIR application??

Tanks!

Bruno</description>
		<content:encoded><![CDATA[<p>Does example works in AIR application??</p>
<p>Tanks!</p>
<p>Bruno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Hammond</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-45</link>
		<dc:creator>Doug Hammond</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-45</guid>
		<description>Hi Justin,

Many thanks for sharing this. I just integrated it into my latest CMS system.

One enhancement I would like to see is a callback to the page JavaScript upon queue completion. Any ideas ?

Cheers,
Doug.</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>Many thanks for sharing this. I just integrated it into my latest CMS system.</p>
<p>One enhancement I would like to see is a callback to the page JavaScript upon queue completion. Any ideas ?</p>
<p>Cheers,<br />
Doug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alchemist</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-34</link>
		<dc:creator>alchemist</dc:creator>
		<pubDate>Tue, 13 Oct 2009 08:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-34</guid>
		<description>This uploader uses Flex&#039; FileReference.upload which is known to be problematic with HTTPS in firefox. 

The fact that you are trying to place the files into a sub-directory should have no impact at all, that is server side functionality.

The file will be placed wherever you want it to go, for example PHP takes the file and puts it in a tmp location &lt;em&gt;(on Linux that is likely to be in /tmp)&lt;/em&gt; and presents you will a filehandle you can make reference to at a later point in the code.

The crossdomain.xml is required to allow Flex out of it&#039;s &lt;strong&gt;sandbox&lt;/strong&gt; and present the backend with the file upload.
</description>
		<content:encoded><![CDATA[<p>This uploader uses Flex&#8217; FileReference.upload which is known to be problematic with HTTPS in firefox. </p>
<p>The fact that you are trying to place the files into a sub-directory should have no impact at all, that is server side functionality.</p>
<p>The file will be placed wherever you want it to go, for example PHP takes the file and puts it in a tmp location <em>(on Linux that is likely to be in /tmp)</em> and presents you will a filehandle you can make reference to at a later point in the code.</p>
<p>The crossdomain.xml is required to allow Flex out of it&#8217;s <strong>sandbox</strong> and present the backend with the file upload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-33</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 10 Oct 2009 17:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-33</guid>
		<description>Hello;
I have been wrestling with trying to impliment a multi-file uploader in flex for a couple weeks now with little success.
I have 2 questions:
1. Should this work with HTTPS ?? Im attempting to upload to a directory (sub-dir) below
where the SWF&#039;s being served. I&#039;ve had some success with the fileref class use on normal http but im not being forced to move to https server config and this doesnt seem to work.
2. is the crossdomain.xml absolutely needed (i dont control the server config) if the upload handler is in the same directory as the served swf and it&#039;s uploading the file to the same or lower level dir ??

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello;<br />
I have been wrestling with trying to impliment a multi-file uploader in flex for a couple weeks now with little success.<br />
I have 2 questions:<br />
1. Should this work with HTTPS ?? Im attempting to upload to a directory (sub-dir) below<br />
where the SWF&#8217;s being served. I&#8217;ve had some success with the fileref class use on normal http but im not being forced to move to https server config and this doesnt seem to work.<br />
2. is the crossdomain.xml absolutely needed (i dont control the server config) if the upload handler is in the same directory as the served swf and it&#8217;s uploading the file to the same or lower level dir ??</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alchemist</title>
		<link>http://bytearray.brixtonjunkies.com/2009/10/01/flex-multiple-file-uploader/comment-page-1/#comment-30</link>
		<dc:creator>alchemist</dc:creator>
		<pubDate>Wed, 07 Oct 2009 08:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://bytearray.brixtonjunkies.com/?p=529#comment-30</guid>
		<description>Thanks :)

I may decide to make the uploader usage more self explanatory if there is any demand for it

&lt;strong&gt;1.&lt;/strong&gt; If you are running PHP on the backend of your site you can use the the 2nd code snippet to test the uploader&lt;em&gt; (just remember the URL)&lt;/em&gt;.

&lt;strong&gt;2.&lt;/strong&gt; &lt;strong&gt;Make sure the crossdomain.xml is in the root of your webserver&lt;/strong&gt; &lt;em&gt;(where both the Flex uploader and backend upload script live, they can however be in different directories of course)&lt;/em&gt;.

&lt;strong&gt;3.&lt;/strong&gt; In Flexbuilder create a new project

&lt;strong&gt;4.&lt;/strong&gt; In your Flex project source folder &lt;em&gt;(the src folder)&lt;/em&gt; place the unzipped library &lt;em&gt;(it should be called FileUploader)&lt;/em&gt;.

&lt;strong&gt;5.&lt;/strong&gt; In your &lt;strong&gt;main mxml file&lt;/strong&gt; paste in the 1st code snippet and replace the upload URL to the URL of your upload script &lt;em&gt;(in this example your PHP script)&lt;/em&gt;.</description>
		<content:encoded><![CDATA[<p>Thanks <img src='http://bytearray.brixtonjunkies.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I may decide to make the uploader usage more self explanatory if there is any demand for it</p>
<p><strong>1.</strong> If you are running PHP on the backend of your site you can use the the 2nd code snippet to test the uploader<em> (just remember the URL)</em>.</p>
<p><strong>2.</strong> <strong>Make sure the crossdomain.xml is in the root of your webserver</strong> <em>(where both the Flex uploader and backend upload script live, they can however be in different directories of course)</em>.</p>
<p><strong>3.</strong> In Flexbuilder create a new project</p>
<p><strong>4.</strong> In your Flex project source folder <em>(the src folder)</em> place the unzipped library <em>(it should be called FileUploader)</em>.</p>
<p><strong>5.</strong> In your <strong>main mxml file</strong> paste in the 1st code snippet and replace the upload URL to the URL of your upload script <em>(in this example your PHP script)</em>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

