<?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: Multiple File Upload with Flash and Ruby on Rails</title>
	<atom:link href="http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/</link>
	<description>Flex, Ruby, etc. etc.</description>
	<lastBuildDate>Sat, 06 Feb 2010 21:14:13 -0800</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Frank</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-1505</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Thu, 07 Jan 2010 18:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-1505</guid>
		<description>Thank you for posting this tutorial.  Can you email me the plugin fix from bubbleshare?  According to their site, they are no longer operating.

Thanks,

Frank</description>
		<content:encoded><![CDATA[<p>Thank you for posting this tutorial.  Can you email me the plugin fix from bubbleshare?  According to their site, they are no longer operating.</p>
<p>Thanks,</p>
<p>Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-990</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-990</guid>
		<description>Anyone using Amazon S3 who is interested in uploading multiple files directly to S3 without hitting the server might be interested in my posts here:

http://www.railstoolkit.com/posts/fancyupload-amazon-s3-uploader-with-paperclip
http://www.railstoolkit.com/posts/uploading-files-directly-to-amazon-s3-using-fancyupload</description>
		<content:encoded><![CDATA[<p>Anyone using Amazon S3 who is interested in uploading multiple files directly to S3 without hitting the server might be interested in my posts here:</p>
<p><a href="http://www.railstoolkit.com/posts/fancyupload-amazon-s3-uploader-with-paperclip" rel="nofollow">http://www.railstoolkit.com/posts/fancyupload-amazon-s3-uploader-with-paperclip</a><br />
<a href="http://www.railstoolkit.com/posts/uploading-files-directly-to-amazon-s3-using-fancyupload" rel="nofollow">http://www.railstoolkit.com/posts/uploading-files-directly-to-amazon-s3-using-fancyupload</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: midjar</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-978</link>
		<dc:creator>midjar</dc:creator>
		<pubDate>Sat, 22 Aug 2009 07:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-978</guid>
		<description>Hi,

Great info. Been using this for over a year.
Got a new server this week and now onProgress and onComplete is no longer invoked/fired.
Anyone that can give me a clue what this can be?

Best regards,
M</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Great info. Been using this for over a year.<br />
Got a new server this week and now onProgress and onComplete is no longer invoked/fired.<br />
Anyone that can give me a clue what this can be?</p>
<p>Best regards,<br />
M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: midjar</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-977</link>
		<dc:creator>midjar</dc:creator>
		<pubDate>Sat, 22 Aug 2009 06:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-977</guid>
		<description>hi,

Works great locally but on my server there&#039;s no feed back when uploading. Looks like it never starts. But the file is uploaded.</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>Works great locally but on my server there&#8217;s no feed back when uploading. Looks like it never starts. But the file is uploaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-949</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 08 Aug 2009 09:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-949</guid>
		<description>Is the &quot;integration&quot; of this script only with PHP, FLASH and ActionScript difficult?
I mean, withouth rails?

Regards</description>
		<content:encoded><![CDATA[<p>Is the &#8220;integration&#8221; of this script only with PHP, FLASH and ActionScript difficult?<br />
I mean, withouth rails?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: headache men</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-245</link>
		<dc:creator>headache men</dc:creator>
		<pubDate>Mon, 20 Apr 2009 08:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-245</guid>
		<description>Hello im hiro nakamura. may somebody guide me how to put the file and code &quot;multiFlashRailsFileUpload&quot;. I really blur about it, please,.. very thanks for anybody who would be help me.

I need the root information where and hoe to put the directory / folder for this multiFlashRailsFileUpload file.

Great thanks for u all</description>
		<content:encoded><![CDATA[<p>Hello im hiro nakamura. may somebody guide me how to put the file and code &#8220;multiFlashRailsFileUpload&#8221;. I really blur about it, please,.. very thanks for anybody who would be help me.</p>
<p>I need the root information where and hoe to put the directory / folder for this multiFlashRailsFileUpload file.</p>
<p>Great thanks for u all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJAX FREAK</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-240</link>
		<dc:creator>AJAX FREAK</dc:creator>
		<pubDate>Fri, 13 Feb 2009 16:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-240</guid>
		<description>You really suck!! AJAX can do that and more!!!</description>
		<content:encoded><![CDATA[<p>You really suck!! AJAX can do that and more!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew L</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-239</link>
		<dc:creator>Andrew L</dc:creator>
		<pubDate>Fri, 09 Jan 2009 03:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-239</guid>
		<description>Ok first off I love this Tutorial and setup!! So thank you

I am using it via PHP so anyone who needs help with it you just have to change your upload.php file to the following:



This will create a directory for you and give it read/write privileges for any novices. Also, for the novices, your file first transfers to a temp folder on the SERVER, once it is verified it will get moved to the directory you chose, in this case, &quot;gallery&quot;.


For anyone who wants to REMOVE a file that has been added to the list. This one was tough.

Copy the Browse button from the multipleUpload.fla file and paste it so you have two of them. Change the name to &quot;Remove&quot; (or whatever you want it to be) and make sure you change the instance name to remove_btn.


Now onto the MultipleUpload.as file...

Add a new private variable with the other ones
      private var remove_btn:Button;

Add rb:Button to the following:
      public function MultipleUpload(fdg:DataGrid, bb:Button, ub:Button, rb:Button)

Set it equal like the rest:
      remove_btn = rb;

Inside the iniUI function add in:
      remove_btn.onRelease = Delegate.create(this, this.remove);


Now create a brand new function exactly like the following:
      private function remove()
	{
		trace(&quot;// remove&quot;);
		var t:Number = files_dg.selectedIndex;
		list.splice(t, 1);
		files_dg.dataProvider.removeItemAt(files_dg.selectedIndex);
	}

Since the File list is an Array we can just alter the array.
We first grab our index that was selected by the user and set that number to t.
We then splice it (or remove it from the array)
We finally delete it off of the visual list.

Not sure if anyone else made something like this but I thought I would share...I will check back if anyone has questions...</description>
		<content:encoded><![CDATA[<p>Ok first off I love this Tutorial and setup!! So thank you</p>
<p>I am using it via PHP so anyone who needs help with it you just have to change your upload.php file to the following:</p>
<p>This will create a directory for you and give it read/write privileges for any novices. Also, for the novices, your file first transfers to a temp folder on the SERVER, once it is verified it will get moved to the directory you chose, in this case, &#8220;gallery&#8221;.</p>
<p>For anyone who wants to REMOVE a file that has been added to the list. This one was tough.</p>
<p>Copy the Browse button from the multipleUpload.fla file and paste it so you have two of them. Change the name to &#8220;Remove&#8221; (or whatever you want it to be) and make sure you change the instance name to remove_btn.</p>
<p>Now onto the MultipleUpload.as file&#8230;</p>
<p>Add a new private variable with the other ones<br />
      private var remove_btn:Button;</p>
<p>Add rb:Button to the following:<br />
      public function MultipleUpload(fdg:DataGrid, bb:Button, ub:Button, rb:Button)</p>
<p>Set it equal like the rest:<br />
      remove_btn = rb;</p>
<p>Inside the iniUI function add in:<br />
      remove_btn.onRelease = Delegate.create(this, this.remove);</p>
<p>Now create a brand new function exactly like the following:<br />
      private function remove()<br />
	{<br />
		trace(&#8221;// remove&#8221;);<br />
		var t:Number = files_dg.selectedIndex;<br />
		list.splice(t, 1);<br />
		files_dg.dataProvider.removeItemAt(files_dg.selectedIndex);<br />
	}</p>
<p>Since the File list is an Array we can just alter the array.<br />
We first grab our index that was selected by the user and set that number to t.<br />
We then splice it (or remove it from the array)<br />
We finally delete it off of the visual list.</p>
<p>Not sure if anyone else made something like this but I thought I would share&#8230;I will check back if anyone has questions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koncat</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-242</link>
		<dc:creator>koncat</dc:creator>
		<pubDate>Mon, 29 Dec 2008 16:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-242</guid>
		<description>I use your Rails App as a server and my own Flex Uploader with the URLRequest-Class.

It should work but when I send a file to the server I get a:

Processing UploadController#index (for 127.0.0.1 at 2008-12-29 15:44:22) [POST]
  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D--c6aef7c6c66b984c2b6f90a511aab81987f03184
  Parameters: {&quot;Filename&quot;=&gt;&quot;me.jpg&quot;, &quot;action&quot;=&gt;&quot;index&quot;, &quot;Upload&quot;=&gt;&quot;Submit Query&quot;, &quot;controller&quot;=&gt;&quot;upload&quot;, &quot;file&quot;=&gt;#}


NoMethodError (You have a nil object when you didn&#039;t expect it!
The error occurred while evaluating nil.read):

Any idea what the nil object can be? THX</description>
		<content:encoded><![CDATA[<p>I use your Rails App as a server and my own Flex Uploader with the URLRequest-Class.</p>
<p>It should work but when I send a file to the server I get a:</p>
<p>Processing UploadController#index (for 127.0.0.1 at 2008-12-29 15:44:22) [POST]<br />
  Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%0ASGFzaHsABjoKQHVzZWR7AA%3D%3D&#8211;c6aef7c6c66b984c2b6f90a511aab81987f03184<br />
  Parameters: {&#8221;Filename&#8221;=&gt;&#8221;me.jpg&#8221;, &#8220;action&#8221;=&gt;&#8221;index&#8221;, &#8220;Upload&#8221;=&gt;&#8221;Submit Query&#8221;, &#8220;controller&#8221;=&gt;&#8221;upload&#8221;, &#8220;file&#8221;=&gt;#}</p>
<p>NoMethodError (You have a nil object when you didn&#8217;t expect it!<br />
The error occurred while evaluating nil.read):</p>
<p>Any idea what the nil object can be? THX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emissions</title>
		<link>http://blog.alastairdawson.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/comment-page-3/#comment-244</link>
		<dc:creator>Emissions</dc:creator>
		<pubDate>Wed, 17 Dec 2008 14:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/#comment-244</guid>
		<description>Did anyone ever get a php version of this working... a link or a rough guide would be ideal</description>
		<content:encoded><![CDATA[<p>Did anyone ever get a php version of this working&#8230; a link or a rough guide would be ideal</p>
]]></content:encoded>
	</item>
</channel>
</rss>
