<?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"
	>
<channel>
	<title>Comments on: No custom headers for FileReference.upload. Why?</title>
	<atom:link href="http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/</link>
	<description>Martijn de Visser on User Experience and Front End technology</description>
	<pubDate>Sat, 17 May 2008 01:55:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Martijn de Visser</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-683</link>
		<dc:creator>Martijn de Visser</dc:creator>
		<pubDate>Tue, 22 Apr 2008 15:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-683</guid>
		<description>Hm, intersting - not sure if I can make a regular POST requist using Sockets though. Thanks for your feedback!</description>
		<content:encoded><![CDATA[<p>Hm, intersting - not sure if I can make a regular <span class="caps">POST </span>requist using Sockets though. Thanks for your feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidney de Koning</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-657</link>
		<dc:creator>Sidney de Koning</dc:creator>
		<pubDate>Mon, 07 Apr 2008 09:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-657</guid>
		<description>Hi Martijn,

Did some research on this; Why not use the Socket Class? That way you can read/write anything to a specific port. And also write the custom header needed for this google api auth. Try looking into that.

Hope this helps,

Sidney de Koning</description>
		<content:encoded><![CDATA[<p>Hi Martijn,</p>
<p>Did some research on this; Why not use the Socket Class? That way you can read/write anything to a specific port. And also write the custom header needed for this google api auth. Try looking into that.</p>
<p>Hope this helps,</p>
<p>Sidney de Koning</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-653</link>
		<dc:creator>Stan</dc:creator>
		<pubDate>Sun, 06 Apr 2008 12:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-653</guid>
		<description>seems to be a similar issue as the filereference issue for mac users. I'm not sure if there's a link, but I hope Adobe starts urgent  with improving the filereference  possibility. That would be necessary to be able to build professional cross platform web applications.</description>
		<content:encoded><![CDATA[<p>seems to be a similar issue as the filereference issue for mac users. I&#8217;m not sure if there&#8217;s a link, but I hope Adobe starts urgent  with improving the filereference  possibility. That would be necessary to be able to build professional cross platform web applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn de Visser</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-638</link>
		<dc:creator>Martijn de Visser</dc:creator>
		<pubDate>Wed, 02 Apr 2008 13:47:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-638</guid>
		<description>@isxylands - yes, that is sort of what you need, but like I said, request headers are simply ignored by the Flash Player when they are added to a FileReference.upload request. Bummer.</description>
		<content:encoded><![CDATA[<p>@isxylands - yes, that is sort of what you need, but like I said, request headers are simply ignored by the Flash Player when they are added to a FileReference.upload request. Bummer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isxylands</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-636</link>
		<dc:creator>isxylands</dc:creator>
		<pubDate>Wed, 02 Apr 2008 03:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-636</guid>
		<description>@Dave: 
I think Martijn need this:
var request:URLRequest = new URLRequest(_uploadUrl + â€œ?filename=â€ + id);
request.method = URLRequestMethod.POST;
request.setHeader("headerName", "headerValue");
// or request.addHeader("headerName", "appendedValue");
_f.upload(request, â€œimageâ€, false);

but adobe not support this yet...</description>
		<content:encoded><![CDATA[<p>@Dave: <br />
I think Martijn need this:<br />
var request:URLRequest = new <span class="caps">URLR</span>equest(_uploadUrl + &acirc;€œ?filename=&acirc;€ + id);<br />
request.method = <span class="caps">URLR</span>equestMethod.POST;<br />
request.setHeader(&#8221;headerName&#8221;, &#8220;headerValue&#8221;);<br />
// or request.addHeader(&#8221;headerName&#8221;, &#8220;appendedValue&#8221;);<br />
_f.upload(request, &acirc;€œimage&acirc;€, false);</p>
<p>but adobe not support this yet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn de Visser</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-624</link>
		<dc:creator>Martijn de Visser</dc:creator>
		<pubDate>Fri, 28 Mar 2008 11:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-624</guid>
		<description>@Sidney - yeah a proxy could certainly do the trick, but I wanted to create a standalone app. I'll have a look and see if using a proxy means that the actual upload will go 'through' the proxy. If not, this could be a solution, else my server would soon die if many people start using such an app (due to bandwidth limitations).</description>
		<content:encoded><![CDATA[<p>@Sidney - yeah a proxy could certainly do the trick, but I wanted to create a standalone app. I&#8217;ll have a look and see if using a proxy means that the actual upload will go &#8216;through&#8217; the proxy. If not, this could be a solution, else my server would soon die if many people start using such an app (due to bandwidth limitations).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidney de Koning</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-623</link>
		<dc:creator>Sidney de Koning</dc:creator>
		<pubDate>Thu, 27 Mar 2008 09:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-623</guid>
		<description>Maybee you this is your answer: http://framework.zend.com/download/gdata

Good luck and keep us posted on any developemnts!

Sid</description>
		<content:encoded><![CDATA[<p>Maybee you this is your answer: <a href="http://framework.zend.com/download/gdata" rel="nofollow">http://framework.zend.com/download/gdata</a></p>
<p>Good luck and keep us posted on any developemnts!</p>
<p>Sid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidney de Koning</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-622</link>
		<dc:creator>Sidney de Koning</dc:creator>
		<pubDate>Thu, 27 Mar 2008 09:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-622</guid>
		<description>What if you work with an proxy php file that, only when you upload you do a call to that file, php sends the custom header, and passes the result back to flash. I know you probably want to do this all in Flash without the need of any other languages, but it could solve your problems :)

Cheers,

Sid</description>
		<content:encoded><![CDATA[<p>What if you work with an proxy php file that, only when you upload you do a call to that file, php sends the custom header, and passes the result back to flash. I know you probably want to do this all in Flash without the need of any other languages, but it could solve your problems <img src='http://www.martijndevisser.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,</p>
<p>Sid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn de Visser</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-621</link>
		<dc:creator>Martijn de Visser</dc:creator>
		<pubDate>Thu, 27 Mar 2008 08:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-621</guid>
		<description>@Dave: Thanks for your feedback, but unfortunately, that doesn't do the trick, as you really need control over the actual HTTP headers when the request is sent.

So, adding variables and all woks fine, it is the requestHeaders where things break. 

It is ironic, actual uploading to YouTube works (yeehah!), but the file is rejected afterwards, beause the YT server cannot find the correct data it is ecpecting in the request headers. Sigh...</description>
		<content:encoded><![CDATA[<p>@Dave: Thanks for your feedback, but unfortunately, that doesn&#8217;t do the trick, as you really need control over the actual <span class="caps">HTTP </span>headers when the request is sent.</p>
<p>So, adding variables and all woks fine, it is the requestHeaders where things break. </p>
<p>It is ironic, actual uploading to YouTube works (yeehah!), but the file is rejected afterwards, beause the YT server cannot find the correct data it is ecpecting in the request headers. Sigh&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Nicoll</title>
		<link>http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-618</link>
		<dc:creator>Dave Nicoll</dc:creator>
		<pubDate>Wed, 26 Mar 2008 23:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.martijndevisser.com/blog/2008/no-custom-headers-for-filereferenceupload-why/#comment-618</guid>
		<description>Isn't this the kind of thing you need..?

	var request:URLRequest = new URLRequest(_uploadUrl + "?filename=" + id);	
	request.method = URLRequestMethod.POST;
	_f.upload(request, "image", false);</description>
		<content:encoded><![CDATA[<p>Isn&#8217;t this the kind of thing you need..?</p>
<p>	var request:URLRequest = new <span class="caps">URLR</span>equest(_uploadUrl + &#8220;?filename=&#8221; + id);	<br />
	request.method = <span class="caps">URLR</span>equestMethod.POST;<br />
	_f.upload(request, &#8220;image&#8221;, false);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.534 seconds -->
