<?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 from local file via AJAX?</title>
	<atom:link href="http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/feed" rel="self" type="application/rss+xml" />
	<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax</link>
	<description>It's all spinning wheels and self-doubt until the first pot of coffee.</description>
	<pubDate>Fri, 09 Jan 2009 14:19:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.8-bleeding-edge</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-35297</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Fri, 01 Sep 2006 17:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-35297</guid>
		<description>&lt;p&gt;Nope, the iframe approach won't work for Amazon S3 - which is what this post is really looking for.  I'm looking for a 100% client-side solution that uses Amazon's S3 api.  So, no form post uploads, no server-side PHP helpers, just browser-to-S3 HTTP PUT.  I don't think it's presently possible.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nope, the iframe approach won&#8217;t work for Amazon S3 - which is what this post is really looking for.  I&#8217;m looking for a 100% client-side solution that uses Amazon&#8217;s S3 api.  So, no form post uploads, no server-side PHP helpers, just browser-to-S3 HTTP PUT.  I don&#8217;t think it&#8217;s presently possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajax file upload</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-35295</link>
		<dc:creator>Ajax file upload</dc:creator>
		<pubDate>Fri, 01 Sep 2006 16:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-35295</guid>
		<description>&lt;p&gt;The invisible IFrame works great.  I have a script that has suited me fine.  You can see it at http://www.seemysites.net/projFolder/uploader - it's completely free, too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The invisible IFrame works great.  I have a script that has suited me fine.  You can see it at <a href="http://www.seemysites.net/projFolder/uploader" rel="nofollow">http://www.seemysites.net/projFolder/uploader</a> - it&#8217;s completely free, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reg Braithwaite</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-30490</link>
		<dc:creator>Reg Braithwaite</dc:creator>
		<pubDate>Sun, 30 Jul 2006 12:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-30490</guid>
		<description>&lt;p&gt;ellinas:&lt;/p&gt;

&lt;p&gt;Most AJAX file upload solutions work almost exactly as you describe, however they use an invisible iFrame instead of a brand new window.&lt;/p&gt;

&lt;p&gt;For example, the upload_progress plug-in for Ruby on Rails uses this method to provide upload progress in real time.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ellinas:</p>
<p>Most AJAX file upload solutions work almost exactly as you describe, however they use an invisible iFrame instead of a brand new window.</p>
<p>For example, the upload_progress plug-in for Ruby on Rails uses this method to provide upload progress in real time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ellinas</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-28184</link>
		<dc:creator>ellinas</dc:creator>
		<pubDate>Tue, 18 Jul 2006 18:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-28184</guid>
		<description>&lt;p&gt;I just hit the wall with the same problem.
My current idea is the following:
- Open a popunder (not to make it annoyingly visible)
- set this window as receiver to the form
- trigger a submit by javascript parallel to the Ajax request
- after upload the popunder can call a jS function in the opener page that talks to the server and receives the uploaded pic for example
- then the popunder closes itself&lt;/p&gt;

&lt;p&gt;Could this be a solution?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I just hit the wall with the same problem.<br />
My current idea is the following:<br />
- Open a popunder (not to make it annoyingly visible)<br />
- set this window as receiver to the form<br />
- trigger a submit by javascript parallel to the Ajax request<br />
- after upload the popunder can call a jS function in the opener page that talks to the server and receives the uploaded pic for example<br />
- then the popunder closes itself</p>
<p>Could this be a solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-11376</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 26 May 2006 15:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-11376</guid>
		<description>&lt;p&gt;Gmail does not use ajax to upload files. This link shows how we can upload files the way gmail does:
http://blog.360.yahoo.com/blog-qCsFWG45eqF9lZ05AZldsUC.?p=58&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Gmail does not use ajax to upload files. This link shows how we can upload files the way gmail does:<br />
<a href="http://blog.360.yahoo.com/blog-qCsFWG45eqF9lZ05AZldsUC.?p=58" rel="nofollow">http://blog.360.yahoo.com/blog-qCsFWG45eqF9lZ05AZldsUC.?p=58</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat Osterday</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-9695</link>
		<dc:creator>Pat Osterday</dc:creator>
		<pubDate>Mon, 10 Apr 2006 12:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-9695</guid>
		<description>&lt;p&gt;No way to do it in a browser using the current technologies - without changing security restrictions, etc.  I did implement an &quot;AJAX style&quot; uploader using ActiveX to browse for a file, base64 encode it and then post it to the server using the XHR object - this was before &quot;AJAX&quot;, but not brain surgery, of course you did have to let IE trust the site to allow the ActiveX stuff access to your hard drive - could've signed it I guess, but too much trouble for an Intranet app.  GMail is just use an auto submit when you choose a file; in IE they are using a little bit of JS to auto popup the dialog box so you don't have to have a browse button visable.  The AFLAX stuff looks interesting, though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>No way to do it in a browser using the current technologies - without changing security restrictions, etc.  I did implement an &#8220;AJAX style&#8221; uploader using ActiveX to browse for a file, base64 encode it and then post it to the server using the XHR object - this was before &#8220;AJAX&#8221;, but not brain surgery, of course you did have to let IE trust the site to allow the ActiveX stuff access to your hard drive - could&#8217;ve signed it I guess, but too much trouble for an Intranet app.  GMail is just use an auto submit when you choose a file; in IE they are using a little bit of JS to auto popup the dialog box so you don&#8217;t have to have a browse button visable.  The AFLAX stuff looks interesting, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ayssar</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-9630</link>
		<dc:creator>ayssar</dc:creator>
		<pubDate>Sat, 08 Apr 2006 09:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-9630</guid>
		<description>&lt;p&gt;i'm not sure gmail is ajaxing attachments, i think they're using a clever combination of iframes and dom manipulation of the input boxes, with perhaps a javascript timer auto-triggered onsubmit().&lt;/p&gt;

&lt;p&gt;just guessing there, but i think you can see it if you have a &quot;view rendered source&quot; plugin for your browser...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i&#8217;m not sure gmail is ajaxing attachments, i think they&#8217;re using a clever combination of iframes and dom manipulation of the input boxes, with perhaps a javascript timer auto-triggered onsubmit().</p>
<p>just guessing there, but i think you can see it if you have a &#8220;view rendered source&#8221; plugin for your browser&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jes5199 (Jesse Wolfe)</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-9616</link>
		<dc:creator>Jes5199 (Jesse Wolfe)</dc:creator>
		<pubDate>Fri, 07 Apr 2006 23:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-9616</guid>
		<description>&lt;p&gt;gmail is AJAXing up attachments already. I don't really know how they're pulling it off.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>gmail is AJAXing up attachments already. I don&#8217;t really know how they&#8217;re pulling it off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Atkins</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-9585</link>
		<dc:creator>Martin Atkins</dc:creator>
		<pubDate>Thu, 06 Apr 2006 17:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-9585</guid>
		<description>&lt;p&gt;I don't think that you can do that right now, but read-only access to the file pointed to by a file upload element sounds like a good thing to propose to the WHATWG people for inclusion in their Web Applications spec, if it isn't already there.&lt;/p&gt;

&lt;p&gt;As long as it's read-only and you can't actually &lt;em&gt;put&lt;/em&gt; a filename into that box from script I don't really see any security flaw to that.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that you can do that right now, but read-only access to the file pointed to by a file upload element sounds like a good thing to propose to the WHATWG people for inclusion in their Web Applications spec, if it isn&#8217;t already there.</p>
<p>As long as it&#8217;s read-only and you can&#8217;t actually <em>put</em> a filename into that box from script I don&#8217;t really see any security flaw to that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent Ashley</title>
		<link>http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax/comment-page-1#comment-9583</link>
		<dc:creator>Brent Ashley</dc:creator>
		<pubDate>Thu, 06 Apr 2006 15:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://decafbad.com/blog/2006/04/06/upload-from-local-file-via-ajax#comment-9583</guid>
		<description>&lt;p&gt;I've yet to find a way to automate an http file upload within the browser.  You can't write to the builtin file upload input element's filename.  Possibly a Flash helper would be of use - see www.aflax.org for instance.  &lt;/p&gt;

&lt;p&gt;btw - I've sent some emails to your pobox addr lately with no ack.  Either I'm a bit stinky or you're not getting them or a bit of both.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve yet to find a way to automate an http file upload within the browser.  You can&#8217;t write to the builtin file upload input element&#8217;s filename.  Possibly a Flash helper would be of use - see <a href="http://www.aflax.org" rel="nofollow">http://www.aflax.org</a> for instance.  </p>
<p>btw - I&#8217;ve sent some emails to your pobox addr lately with no ack.  Either I&#8217;m a bit stinky or you&#8217;re not getting them or a bit of both.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
