<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: FileReference:Class</title>
	<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/</link>
	<description>Keep Up To Date With The Latest Flash News</description>
	<pubDate>Tue, 07 Sep 2010 21:39:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: awflasher</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-5</link>
		<author>awflasher</author>
		<pubDate>Mon, 11 Jun 2007 10:37:16 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-5</guid>
					<description>I am always experiencing the I/O Errors.
It seems when the connection status is bad (as a result from pinging to server) , the I/O error triggers.
Do u have any good idea for handle with this kind of I/O Errors. As any idea for supervention-uploading after I/O error....</description>
		<content:encoded><![CDATA[<p>I am always experiencing the I/O Errors.<br />
It seems when the connection status is bad (as a result from pinging to server) , the I/O error triggers.<br />
Do u have any good idea for handle with this kind of I/O Errors. As any idea for supervention-uploading after I/O error&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: admin</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-6</link>
		<author>admin</author>
		<pubDate>Mon, 11 Jun 2007 10:46:31 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-6</guid>
					<description>So it works some of the time,
yet other times "when the connection status is bad",
it does not work at all?

Would you mind posting the code for uploading?</description>
		<content:encoded><![CDATA[<p>So it works some of the time,<br />
yet other times &#8220;when the connection status is bad&#8221;,<br />
it does not work at all?</p>
<p>Would you mind posting the code for uploading?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: admin</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-7</link>
		<author>admin</author>
		<pubDate>Mon, 11 Jun 2007 10:53:13 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-7</guid>
					<description>Also, how far does it get in the upload process, in bytes or on percent?</description>
		<content:encoded><![CDATA[<p>Also, how far does it get in the upload process, in bytes or on percent?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: wraevn</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-8</link>
		<author>wraevn</author>
		<pubDate>Fri, 15 Jun 2007 18:48:38 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-8</guid>
					<description>I'm getting HTTP 500 errors.

I'm using the FileReference class to upload images to an aspx page. Basically it goes like this:

Flash uploads the file to http://www.mydomain/upload.aspx

The aspx page calls a webservice that sends the image to another server (my image server). I'm of course not sending it directly to the image server because Flash can't do that (it's on another server)

It looks like Flash is successfully uploading the image (100%) and then I get the HTTP 500 error. It seems to work when I'm testing locally, but once the .swf goes live on the server, no go. The .swf and the .aspx page are in the same directory.

I'd also like to know more about the 500 error. w3.org says the following, but it's still so vague:

10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request. 

Please assist!!</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting HTTP 500 errors.</p>
<p>I&#8217;m using the FileReference class to upload images to an aspx page. Basically it goes like this:</p>
<p>Flash uploads the file to <a href="http://www.mydomain/upload.aspx" rel="nofollow">http://www.mydomain/upload.aspx</a></p>
<p>The aspx page calls a webservice that sends the image to another server (my image server). I&#8217;m of course not sending it directly to the image server because Flash can&#8217;t do that (it&#8217;s on another server)</p>
<p>It looks like Flash is successfully uploading the image (100%) and then I get the HTTP 500 error. It seems to work when I&#8217;m testing locally, but once the .swf goes live on the server, no go. The .swf and the .aspx page are in the same directory.</p>
<p>I&#8217;d also like to know more about the 500 error. w3.org says the following, but it&#8217;s still so vague:</p>
<p>10.5.1 500 Internal Server Error<br />
The server encountered an unexpected condition which prevented it from fulfilling the request. </p>
<p>Please assist!!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: admin</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-9</link>
		<author>admin</author>
		<pubDate>Fri, 15 Jun 2007 23:32:30 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-9</guid>
					<description>Just wondering what code you are using for your upload
Also, are you making sure to allow localhost and whatever other sites you have to access
for instance:
System.security.allowDomain("http://localhost", "127.0.0.1");</description>
		<content:encoded><![CDATA[<p>Just wondering what code you are using for your upload<br />
Also, are you making sure to allow localhost and whatever other sites you have to access<br />
for instance:<br />
System.security.allowDomain(&#8221;http://localhost&#8221;, &#8220;127.0.0.1&#8243;);</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: admin</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-10</link>
		<author>admin</author>
		<pubDate>Fri, 15 Jun 2007 23:45:58 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-10</guid>
					<description>awflasher:
your problem is caused by uploading a large file, and the resetting of connection happens too often to allow the whole file to upload
You can fix this by finding php.ini on your server, and editing it or if you do not have any php.ini on your site, go to this link and find out how to create one.
http://www.washington.edu/computing/web/publishing/php-ini.html#register_globals</description>
		<content:encoded><![CDATA[<p>awflasher:<br />
your problem is caused by uploading a large file, and the resetting of connection happens too often to allow the whole file to upload<br />
You can fix this by finding php.ini on your server, and editing it or if you do not have any php.ini on your site, go to this link and find out how to create one.<br />
<a href="http://www.washington.edu/computing/web/publishing/php-ini.html#register_globals" rel="nofollow">http://www.washington.edu/computing/web/publishing/php-ini.html#register_globals</a></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: admin</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-11</link>
		<author>admin</author>
		<pubDate>Sat, 16 Jun 2007 00:10:20 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-11</guid>
					<description>wraevn:
Just thinking that maybe the reason that flash is having the errors is something to do with calling another service("The aspx page calls a webservice that sends the image to another server (my image server).")
Have you made sure that flash didn't actually upload the image, even though it got the error, it may still have uploaded it?</description>
		<content:encoded><![CDATA[<p>wraevn:<br />
Just thinking that maybe the reason that flash is having the errors is something to do with calling another service(&#8221;The aspx page calls a webservice that sends the image to another server (my image server).&#8221;)<br />
Have you made sure that flash didn&#8217;t actually upload the image, even though it got the error, it may still have uploaded it?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: wraevn</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-12</link>
		<author>wraevn</author>
		<pubDate>Sat, 16 Jun 2007 15:59:23 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-12</guid>
					<description>Well, it's all figure out ... it turned out that the upload WAS working, in that the image was making it to the image server, but the image server (running DotImage by Atalasoft) was at v. 5.0, and the website .dlls were published using v. 3.0. In addition, it was trying to convert an image format to the same image format and was throwing an exception for that.

My AS was perfect :-P

It just shows to go ya!

However, your comments are all valid, and are definitely things I would've looked into should the problem have been on my side. The Security is a big one and all that stuff is being set properly, so good call there.</description>
		<content:encoded><![CDATA[<p>Well, it&#8217;s all figure out &#8230; it turned out that the upload WAS working, in that the image was making it to the image server, but the image server (running DotImage by Atalasoft) was at v. 5.0, and the website .dlls were published using v. 3.0. In addition, it was trying to convert an image format to the same image format and was throwing an exception for that.</p>
<p>My AS was perfect <img src='http://protoflash.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>It just shows to go ya!</p>
<p>However, your comments are all valid, and are definitely things I would&#8217;ve looked into should the problem have been on my side. The Security is a big one and all that stuff is being set properly, so good call there.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ben</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-30</link>
		<author>Ben</author>
		<pubDate>Mon, 06 Aug 2007 21:15:48 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-30</guid>
					<description>Hi,

I've got a problem with an upload, using php and the as.
My file is downloading to 100% but on firefox mac I've got an 404 error and on firefox pc got a 406 error...
I've tried the secfilterengine and other in .htaccess but it doesn't work and crash the server...
Somebody can help me???


Ben.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve got a problem with an upload, using php and the as.<br />
My file is downloading to 100% but on firefox mac I&#8217;ve got an 404 error and on firefox pc got a 406 error&#8230;<br />
I&#8217;ve tried the secfilterengine and other in .htaccess but it doesn&#8217;t work and crash the server&#8230;<br />
Somebody can help me???</p>
<p>Ben.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-31</link>
		<author>Protoflash</author>
		<pubDate>Mon, 06 Aug 2007 22:32:55 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-31</guid>
					<description>Hi Ben,
Just wondering if your page is under a secure connection. ie. is it at https: or http:
Also, if you would like to post the code you are using I can look through that.
Cheers,
Protoflash</description>
		<content:encoded><![CDATA[<p>Hi Ben,<br />
Just wondering if your page is under a secure connection. ie. is it at https: or http:<br />
Also, if you would like to post the code you are using I can look through that.<br />
Cheers,<br />
Protoflash</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ben</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-32</link>
		<author>Ben</author>
		<pubDate>Mon, 06 Aug 2007 22:38:43 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-32</guid>
					<description>Hi thank you very much...
My website is in http://

and the code for the php is:


and for the as:
var domain:String = "www.mydomain.com";
var url:String = domain + "/test/admin/";

//Allow this domain
System.security.allowDomain(domain);
import flash.net.FileReference;

upload_button.button_text.text = _root.title;

// The listener object listens for FileReference events.
var listener:Object = new Object();

loading._x = Stage.width - loading._width;

var screen:Object = new Object();
screen.onResize = function(){
	loading._x = Stage.width - loading._width;
}
Stage.addListener(screen);

loading._visible = false;

listener.onSelect = function(selectedFile:FileReference):Void {
	selectedFile.upload(url + "includes/uploadFile.php?upload_dir=" + _root.upload_dir);
	loading._visible = true;
	file_name.text = "";
}

upload_button.loading._xscale = 0;

listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void {
	upload_button.loading._xscale = bytesLoaded / bytesTotal * 100;
	file_name.text = Math.round(upload_button.loading._xscale) + "% - "+bytesLoaded+" bytes of "+bytesTotal+" total";
}

listener.onOpen = function(selectedFile:FileReference):Void {
	
}

/* ERRORS */
listener.onHTTPError = function(file:FileReference, httpError:Number):Void { file_name.text = "http error: " + httpError + " dir: " + _root.upload_dir; }
listener.onIOError = function(file:FileReference):Void { file_name.text = "IO error"; }
listener.onSecurityError = function(file:FileReference, errorString:String):Void { file_name.text = " security error: " + errorString; }

function onLoadInit(){
	
}

loader = new MovieClipLoader();
loader.addListener(this);
loader2 = new MovieClipLoader();

listener.onComplete = function(selectedFile:FileReference):Void {
	loading._visible = false;
	upload_button.loading._xscale = 0;
	if(_root.hidden){
		getURL("javascript:setHidden('"+_root.hidden+"', '"+ selectedFile.name+"', '" + _root.upload_dir + "');");
	}else{
		getURL("javascript:setImage('"+_root.image_tag+"', '"+ selectedFile.name+"', '" + _root.upload_dir + "');");
	}
	file_name.text = selectedFile.name;
	
	_root.remove_visible = "true";
}

if( _root.image_name == "" ){
	_root.remove_visible = "false";
	file_name.text = "";
} else {
	_root.remove_visible = "true";
	file_name.text = _root.image_name;
}

remove.onEnterFrame = function(){
	if( _root.remove_visible == "false" ){
		this._visible = false;
		//file_name.text = "";
	} else {
		this._visible = true;
		//file_name.text = _root.image_name;
	}
}

remove.onRelease = function(){
	file_name.text = "";
	if(_root.hidden){
		getURL("javascript:setHidden('"+_root.hidden+"', '', '');");
	}else{
		getURL("javascript:setImage('"+_root.image_tag+"', '');");
	}
	_root.remove_visible = "false";
}

var imageFile:FileReference = new FileReference();
imageFile.addListener(listener);

upload_button.onPress = function(event:Object):Void {
	//imageFile.browse([{description: "Images", extension: "*.jpg;*.gif;*.png;*.jpeg"}, {description: "Documents", extension: "*.ppt;*.zip;*.rar;*.ai;*.psd;*.doc;*.xls;*.flv;*.eps;*.pdf"}]);
	imageFile.browse([{description: "Documents", extension: "*.jpg;*.gif;*.png;*.jpeg;*.pdf;*.doc;*.xls;*.ppt;*.pps"}]);
}

Thanks in advance...


Ben.</description>
		<content:encoded><![CDATA[<p>Hi thank you very much&#8230;<br />
My website is in <a href="http://" rel="nofollow">http://</a></p>
<p>and the code for the php is:</p>
<p>and for the as:<br />
var domain:String = &#8220;www.mydomain.com&#8221;;<br />
var url:String = domain + &#8220;/test/admin/&#8221;;</p>
<p>//Allow this domain<br />
System.security.allowDomain(domain);<br />
import flash.net.FileReference;</p>
<p>upload_button.button_text.text = _root.title;</p>
<p>// The listener object listens for FileReference events.<br />
var listener:Object = new Object();</p>
<p>loading._x = Stage.width - loading._width;</p>
<p>var screen:Object = new Object();<br />
screen.onResize = function(){<br />
	loading._x = Stage.width - loading._width;<br />
}<br />
Stage.addListener(screen);</p>
<p>loading._visible = false;</p>
<p>listener.onSelect = function(selectedFile:FileReference):Void {<br />
	selectedFile.upload(url + &#8220;includes/uploadFile.php?upload_dir=&#8221; + _root.upload_dir);<br />
	loading._visible = true;<br />
	file_name.text = &#8220;&#8221;;<br />
}</p>
<p>upload_button.loading._xscale = 0;</p>
<p>listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void {<br />
	upload_button.loading._xscale = bytesLoaded / bytesTotal * 100;<br />
	file_name.text = Math.round(upload_button.loading._xscale) + &#8220;% - &#8220;+bytesLoaded+&#8221; bytes of &#8220;+bytesTotal+&#8221; total&#8221;;<br />
}</p>
<p>listener.onOpen = function(selectedFile:FileReference):Void {</p>
<p>}</p>
<p>/* ERRORS */<br />
listener.onHTTPError = function(file:FileReference, httpError:Number):Void { file_name.text = &#8220;http error: &#8221; + httpError + &#8221; dir: &#8221; + _root.upload_dir; }<br />
listener.onIOError = function(file:FileReference):Void { file_name.text = &#8220;IO error&#8221;; }<br />
listener.onSecurityError = function(file:FileReference, errorString:String):Void { file_name.text = &#8221; security error: &#8221; + errorString; }</p>
<p>function onLoadInit(){</p>
<p>}</p>
<p>loader = new MovieClipLoader();<br />
loader.addListener(this);<br />
loader2 = new MovieClipLoader();</p>
<p>listener.onComplete = function(selectedFile:FileReference):Void {<br />
	loading._visible = false;<br />
	upload_button.loading._xscale = 0;<br />
	if(_root.hidden){<br />
		getURL(&#8221;javascript:setHidden(&#8217;&#8221;+_root.hidden+&#8221;&#8216;, &#8216;&#8221;+ selectedFile.name+&#8221;&#8216;, &#8216;&#8221; + _root.upload_dir + &#8220;&#8216;);&#8221;);<br />
	}else{<br />
		getURL(&#8221;javascript:setImage(&#8217;&#8221;+_root.image_tag+&#8221;&#8216;, &#8216;&#8221;+ selectedFile.name+&#8221;&#8216;, &#8216;&#8221; + _root.upload_dir + &#8220;&#8216;);&#8221;);<br />
	}<br />
	file_name.text = selectedFile.name;</p>
<p>	_root.remove_visible = &#8220;true&#8221;;<br />
}</p>
<p>if( _root.image_name == &#8220;&#8221; ){<br />
	_root.remove_visible = &#8220;false&#8221;;<br />
	file_name.text = &#8220;&#8221;;<br />
} else {<br />
	_root.remove_visible = &#8220;true&#8221;;<br />
	file_name.text = _root.image_name;<br />
}</p>
<p>remove.onEnterFrame = function(){<br />
	if( _root.remove_visible == &#8220;false&#8221; ){<br />
		this._visible = false;<br />
		//file_name.text = &#8220;&#8221;;<br />
	} else {<br />
		this._visible = true;<br />
		//file_name.text = _root.image_name;<br />
	}<br />
}</p>
<p>remove.onRelease = function(){<br />
	file_name.text = &#8220;&#8221;;<br />
	if(_root.hidden){<br />
		getURL(&#8221;javascript:setHidden(&#8217;&#8221;+_root.hidden+&#8221;&#8216;, &#8221;, &#8221;);&#8221;);<br />
	}else{<br />
		getURL(&#8221;javascript:setImage(&#8217;&#8221;+_root.image_tag+&#8221;&#8216;, &#8221;);&#8221;);<br />
	}<br />
	_root.remove_visible = &#8220;false&#8221;;<br />
}</p>
<p>var imageFile:FileReference = new FileReference();<br />
imageFile.addListener(listener);</p>
<p>upload_button.onPress = function(event:Object):Void {<br />
	//imageFile.browse([{description: &#8220;Images&#8221;, extension: &#8220;*.jpg;*.gif;*.png;*.jpeg&#8221;}, {description: &#8220;Documents&#8221;, extension: &#8220;*.ppt;*.zip;*.rar;*.ai;*.psd;*.doc;*.xls;*.flv;*.eps;*.pdf&#8221;}]);<br />
	imageFile.browse([{description: &#8220;Documents&#8221;, extension: &#8220;*.jpg;*.gif;*.png;*.jpeg;*.pdf;*.doc;*.xls;*.ppt;*.pps&#8221;}]);<br />
}</p>
<p>Thanks in advance&#8230;</p>
<p>Ben.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-33</link>
		<author>Protoflash</author>
		<pubDate>Mon, 06 Aug 2007 23:35:55 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-33</guid>
					<description>Just with a quick look at your code. Try using
System.security.allowDomain("http://localhost", "127.0.0.1");
instead of System.security.allowDomain(domain);
You may get better results this way.</description>
		<content:encoded><![CDATA[<p>Just with a quick look at your code. Try using<br />
System.security.allowDomain(&#8221;http://localhost&#8221;, &#8220;127.0.0.1&#8243;);<br />
instead of System.security.allowDomain(domain);<br />
You may get better results this way.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ben</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-34</link>
		<author>Ben</author>
		<pubDate>Tue, 07 Aug 2007 09:32:32 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-34</guid>
					<description>Hi,

but this is on a website...
It's not in local...
Where do I put my I.P. for the server?

Thanks in advance,


Ben.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>but this is on a website&#8230;<br />
It&#8217;s not in local&#8230;<br />
Where do I put my I.P. for the server?</p>
<p>Thanks in advance,</p>
<p>Ben.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-35</link>
		<author>Protoflash</author>
		<pubDate>Tue, 07 Aug 2007 09:45:43 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-35</guid>
					<description>Hi,
Allowing Localhost will allow the actual site.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Allowing Localhost will allow the actual site.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ben</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-36</link>
		<author>Ben</author>
		<pubDate>Tue, 07 Aug 2007 09:55:35 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-36</guid>
					<description>Hi,

okok, I can see it's close to work.
The loading goes to 100% and write the name of the image... but the copy doesn't work...
Do you have an idea about it???

Thanks again!!!


Ben.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>okok, I can see it&#8217;s close to work.<br />
The loading goes to 100% and write the name of the image&#8230; but the copy doesn&#8217;t work&#8230;<br />
Do you have an idea about it???</p>
<p>Thanks again!!!</p>
<p>Ben.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ben</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-37</link>
		<author>Ben</author>
		<pubDate>Tue, 07 Aug 2007 10:05:30 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-37</guid>
					<description>Hi,

I've find my error:
POST instead of GET in the php...
Thank you very much for everything...


Ben.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve find my error:<br />
POST instead of GET in the php&#8230;<br />
Thank you very much for everything&#8230;</p>
<p>Ben.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-38</link>
		<author>Protoflash</author>
		<pubDate>Tue, 07 Aug 2007 10:38:39 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-38</guid>
					<description>No worries, mate. I'm just sorry I didn't think of that.
btw. I am a flash freelancer, so if you have any work you would like to pass on to us please feel free to contact me at protoflash.com &#124; at &#124; gmail.com
Cheers,
Protoflash</description>
		<content:encoded><![CDATA[<p>No worries, mate. I&#8217;m just sorry I didn&#8217;t think of that.<br />
btw. I am a flash freelancer, so if you have any work you would like to pass on to us please feel free to contact me at protoflash.com | at | gmail.com<br />
Cheers,<br />
Protoflash</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: demiurgu</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-203</link>
		<author>demiurgu</author>
		<pubDate>Tue, 29 Jan 2008 21:06:01 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-203</guid>
					<description>I am trying to upload a file using rails server side script. .... it is working in safari but in IE and FF i get 406 error in server log...


Some ideas ?</description>
		<content:encoded><![CDATA[<p>I am trying to upload a file using rails server side script. &#8230;. it is working in safari but in IE and FF i get 406 error in server log&#8230;</p>
<p>Some ideas ?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-204</link>
		<author>Protoflash</author>
		<pubDate>Tue, 29 Jan 2008 22:48:06 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-204</guid>
					<description>Try creating a .htaccess file in your root directory with:

SecFilterEngine Off
SecFilterScanPOST Off 

If that doesn't work, move the .htaccess file to the directory of the .swf file.

This might do the trick...

If it doesn't, do you know what percentage the upload is getting to before it comes across the error?

Can you possibly give me a link so I can see exactly what is happening?</description>
		<content:encoded><![CDATA[<p>Try creating a .htaccess file in your root directory with:</p>
<p>SecFilterEngine Off<br />
SecFilterScanPOST Off </p>
<p>If that doesn&#8217;t work, move the .htaccess file to the directory of the .swf file.</p>
<p>This might do the trick&#8230;</p>
<p>If it doesn&#8217;t, do you know what percentage the upload is getting to before it comes across the error?</p>
<p>Can you possibly give me a link so I can see exactly what is happening?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: PJ</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-206</link>
		<author>PJ</author>
		<pubDate>Thu, 07 Feb 2008 15:47:45 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-206</guid>
					<description>Re:  "Flash cannot upload under a secure connection"... 

I have a secure server and I can upload  just fine using Flash / PHP over https... but it won't with FireFox and apparently it is related to a .htaccess setting (which is what led me to this thread).  IE6 &#38; IE7 can and do upload over a secure connection... so maybe I'm doing something different?  Who knows.</description>
		<content:encoded><![CDATA[<p>Re:  &#8220;Flash cannot upload under a secure connection&#8221;&#8230; </p>
<p>I have a secure server and I can upload  just fine using Flash / PHP over https&#8230; but it won&#8217;t with FireFox and apparently it is related to a .htaccess setting (which is what led me to this thread).  IE6 &amp; IE7 can and do upload over a secure connection&#8230; so maybe I&#8217;m doing something different?  Who knows.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-207</link>
		<author>Protoflash</author>
		<pubDate>Thu, 07 Feb 2008 22:07:26 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-207</guid>
					<description>Try uploading over http:, that might do the trick....</description>
		<content:encoded><![CDATA[<p>Try uploading over http:, that might do the trick&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jim</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-210</link>
		<author>Jim</author>
		<pubDate>Tue, 12 Feb 2008 04:41:32 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-210</guid>
					<description>I have my flash 8 (AS 2.0) upload working via fileReference.upload using a coldfusion upload.cfm page.

The problem is that I can upload small files but larger ones such as a 1 meg file upload to 100 % but return with an error code 500 and fails to transfer over http.</description>
		<content:encoded><![CDATA[<p>I have my flash 8 (AS 2.0) upload working via fileReference.upload using a coldfusion upload.cfm page.</p>
<p>The problem is that I can upload small files but larger ones such as a 1 meg file upload to 100 % but return with an error code 500 and fails to transfer over http.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-211</link>
		<author>Protoflash</author>
		<pubDate>Tue, 12 Feb 2008 05:01:13 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-211</guid>
					<description>500: This error could be due to many things, but it is an "Internal server error". Issues to check:
- You are uploading files larger than the allowed post size set in the CF administrator. See the setting "Maximum size of post data" in the Settings page of the CF administrator. The default I think is 100MB
- You are uploading large files and CF is running out of memory. CF has to put the whole size in memory while it gets uploaded before it saves it to disk. If you have access to the logs (the java output logs, not the regular cf logs), check for this error.

http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms

Let me know how it goes...</description>
		<content:encoded><![CDATA[<p>500: This error could be due to many things, but it is an &#8220;Internal server error&#8221;. Issues to check:<br />
- You are uploading files larger than the allowed post size set in the CF administrator. See the setting &#8220;Maximum size of post data&#8221; in the Settings page of the CF administrator. The default I think is 100MB<br />
- You are uploading large files and CF is running out of memory. CF has to put the whole size in memory while it gets uploaded before it saves it to disk. If you have access to the logs (the java output logs, not the regular cf logs), check for this error.</p>
<p><a href="http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms" rel="nofollow">http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms</a></p>
<p>Let me know how it goes&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Nate</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-213</link>
		<author>Nate</author>
		<pubDate>Tue, 04 Mar 2008 00:19:12 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-213</guid>
					<description>500 error here as well. I've tried everything- googled myself into the ground. htaccess file in root and swf folder breaks the server. Tried the domain security (AS) patches, and even the cross domain file, still no luck. Just gets to 100%, and throws the 500 error. The same exact script (I used for ever) works on all my other servers, but of course, not the one my clients are using. Tried every folder permission combo also - 703, 704, 777, etc etc etc. Godaddy won't help - to them, this is a "scripting" issue, even though the same exact script works on a neighboring server.</description>
		<content:encoded><![CDATA[<p>500 error here as well. I&#8217;ve tried everything- googled myself into the ground. htaccess file in root and swf folder breaks the server. Tried the domain security (AS) patches, and even the cross domain file, still no luck. Just gets to 100%, and throws the 500 error. The same exact script (I used for ever) works on all my other servers, but of course, not the one my clients are using. Tried every folder permission combo also - 703, 704, 777, etc etc etc. Godaddy won&#8217;t help - to them, this is a &#8220;scripting&#8221; issue, even though the same exact script works on a neighboring server.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: William</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-215</link>
		<author>William</author>
		<pubDate>Wed, 16 Apr 2008 08:40:35 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-215</guid>
					<description>Hi,
I'm looking for ages for an explanation of this sentence in Flash doc :
"Although Flash Player has no restriction on the size of files you can upload or download, the player officially supports uploads or downloads of up to 100 MB"

Why 'officialy support 100MB' ? what could happen if I upload 101MB or 200MB ?

thanks for any hint or links</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m looking for ages for an explanation of this sentence in Flash doc :<br />
&#8220;Although Flash Player has no restriction on the size of files you can upload or download, the player officially supports uploads or downloads of up to 100 MB&#8221;</p>
<p>Why &#8216;officialy support 100MB&#8217; ? what could happen if I upload 101MB or 200MB ?</p>
<p>thanks for any hint or links</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-216</link>
		<author>Protoflash</author>
		<pubDate>Wed, 16 Apr 2008 20:19:19 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-216</guid>
					<description>Hi William,
I'v got a hunch that it's because the .htaccess files on the server, etc. stop it from uploading more than 100MB normally, because the page times out. So I think you'd have to modify them or look for some other server-side settings.
Other than that, I can't think of anything to suggest except maybe try it!
Cheers,
Stephen</description>
		<content:encoded><![CDATA[<p>Hi William,<br />
I&#8217;v got a hunch that it&#8217;s because the .htaccess files on the server, etc. stop it from uploading more than 100MB normally, because the page times out. So I think you&#8217;d have to modify them or look for some other server-side settings.<br />
Other than that, I can&#8217;t think of anything to suggest except maybe try it!<br />
Cheers,<br />
Stephen</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Imtiyaz</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-319</link>
		<author>Imtiyaz</author>
		<pubDate>Wed, 03 Dec 2008 12:07:18 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-319</guid>
					<description>Hi,

I am using FileReference.upload("upload.php").  Uploading works well in localhost but when i put in on server no copy function seems to work.  I even tried you option of System.security.allowDomain(”http://localhost”, “127.0.0.1″);

But fails.  Can you guide me where i am wrong in implementing on server.  U can have a look at:http://imtiyaz.byethost3.com/testing/upload.html

Waiting fr reply.

Best Regards,
Imtiyaz</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using FileReference.upload(&#8221;upload.php&#8221;).  Uploading works well in localhost but when i put in on server no copy function seems to work.  I even tried you option of System.security.allowDomain(”http://localhost”, “127.0.0.1″);</p>
<p>But fails.  Can you guide me where i am wrong in implementing on server.  U can have a look at:http://imtiyaz.byethost3.com/testing/upload.html</p>
<p>Waiting fr reply.</p>
<p>Best Regards,<br />
Imtiyaz</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Soliton</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-326</link>
		<author>Soliton</author>
		<pubDate>Sat, 10 Oct 2009 08:53:15 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-326</guid>
					<description>Hi
i run a filereference.upload test  flex application which uploads a file through a coldfusion server.
i'm using flex 3 and coldfusion 9.
i'm also passing parameters in the URLRequest that points to the upload cfm file.
when i run my test using the built-in web server (Jrun) all seems to work just fine
when i run the same test on a coldfusion instance that runs on Apache web server, it throws a I/O Error...

i suspect i'm missing some kind of a configuration i need to perform when moving to a production setup rather then a development environment...

can anyone guide me through this?
does it have to do with security? on the client? on the server?
i'm still running on localhost...

cheers
:)</description>
		<content:encoded><![CDATA[<p>Hi<br />
i run a filereference.upload test  flex application which uploads a file through a coldfusion server.<br />
i&#8217;m using flex 3 and coldfusion 9.<br />
i&#8217;m also passing parameters in the URLRequest that points to the upload cfm file.<br />
when i run my test using the built-in web server (Jrun) all seems to work just fine<br />
when i run the same test on a coldfusion instance that runs on Apache web server, it throws a I/O Error&#8230;</p>
<p>i suspect i&#8217;m missing some kind of a configuration i need to perform when moving to a production setup rather then a development environment&#8230;</p>
<p>can anyone guide me through this?<br />
does it have to do with security? on the client? on the server?<br />
i&#8217;m still running on localhost&#8230;</p>
<p>cheers<br />
 <img src='http://protoflash.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Protoflash</title>
		<link>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-327</link>
		<author>Protoflash</author>
		<pubDate>Sat, 10 Oct 2009 09:40:31 +0000</pubDate>
		<guid>http://protoflash.com/blog/2007/05/15/filebrowserclass/#comment-327</guid>
					<description>Hi Soliton,

I'm guessing it is the filesize. Check the MaximumFileSize setting of your webserver.
Let me know how it goes. :)

Cheers,
Stephen</description>
		<content:encoded><![CDATA[<p>Hi Soliton,</p>
<p>I&#8217;m guessing it is the filesize. Check the MaximumFileSize setting of your webserver.<br />
Let me know how it goes. <img src='http://protoflash.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Stephen</p>
]]></content:encoded>
				</item>
</channel>
</rss>
