<?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: FileUpload and htmlfile: Access is denied error</title>
	<atom:link href="http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/</link>
	<description>ASP.NET, XML, SQL and Javascript tips and tricks</description>
	<lastBuildDate>Fri, 17 Feb 2012 09:16:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Simus</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-4940</link>
		<dc:creator>Simus</dc:creator>
		<pubDate>Thu, 10 Nov 2011 22:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-4940</guid>
		<description>Thanks for saving me many wasted hours!</description>
		<content:encoded><![CDATA[<p>Thanks for saving me many wasted hours!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyke</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-1192</link>
		<dc:creator>cyke</dc:creator>
		<pubDate>Fri, 27 Aug 2010 17:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-1192</guid>
		<description>you save me sourabh, just change the name attribute for an id attribute and it works!</description>
		<content:encoded><![CDATA[<p>you save me sourabh, just change the name attribute for an id attribute and it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kazuya</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-1143</link>
		<dc:creator>kazuya</dc:creator>
		<pubDate>Sun, 15 Aug 2010 12:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-1143</guid>
		<description>&lt;a href=&quot;#comment-836&quot; rel=&quot;nofollow&quot;&gt;@Sathishkumar &lt;/a&gt; 


hi did u already solve this proble....we have the same problem...pls share if you have something there</description>
		<content:encoded><![CDATA[<p><a href="#comment-836" rel="nofollow">@Sathishkumar </a> </p>
<p>hi did u already solve this proble&#8230;.we have the same problem&#8230;pls share if you have something there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathishkumar</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-836</link>
		<dc:creator>Sathishkumar</dc:creator>
		<pubDate>Wed, 21 Apr 2010 06:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-836</guid>
		<description>Sorry..following code missed in my last post as I pasted the html code.

when I looked into the dynamically created html code for my web page, it has
&quot;input type=&quot;file&quot; name=&quot;fileBrowse&quot; id=&quot;fileBrowse&quot; run=&quot;server&quot;</description>
		<content:encoded><![CDATA[<p>Sorry..following code missed in my last post as I pasted the html code.</p>
<p>when I looked into the dynamically created html code for my web page, it has<br />
&#8220;input type=&#8221;file&#8221; name=&#8221;fileBrowse&#8221; id=&#8221;fileBrowse&#8221; run=&#8221;server&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sathishkumar</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-835</link>
		<dc:creator>Sathishkumar</dc:creator>
		<pubDate>Wed, 21 Apr 2010 05:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-835</guid>
		<description>My Javascript function is

This is my file upload control .This can be html file control as well.Both are same.



function BrowseClick() 
{
            var formObject = document.forms[0];
            formObject[&#039;fileBrowse&#039;].click();
            var addedFilePath = formObject[&#039;fileBrowse&#039;].value;
}

Inside this function, I am making the fileUpload control click event to fire.
I am getting the exception &quot;htmlfile: Access is denied error&quot; 

when I looked into the dynamically created html code for my web page, it has 
&quot;

Sourabh?? How did u removed the name attribute and make it to work. name attribute automatically gets added when the page is rendered as html. plz guide me</description>
		<content:encoded><![CDATA[<p>My Javascript function is</p>
<p>This is my file upload control .This can be html file control as well.Both are same.</p>
<p>function BrowseClick()<br />
{<br />
            var formObject = document.forms[0];<br />
            formObject['fileBrowse'].click();<br />
            var addedFilePath = formObject['fileBrowse'].value;<br />
}</p>
<p>Inside this function, I am making the fileUpload control click event to fire.<br />
I am getting the exception &#8220;htmlfile: Access is denied error&#8221; </p>
<p>when I looked into the dynamically created html code for my web page, it has<br />
&#8221;</p>
<p>Sourabh?? How did u removed the name attribute and make it to work. name attribute automatically gets added when the page is rendered as html. plz guide me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anna</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-599</link>
		<dc:creator>Anna</dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-599</guid>
		<description>&lt;a href=&quot;#comment-595&quot; rel=&quot;nofollow&quot;&gt;@sourabh  &lt;/a&gt; 
Sourabh, that was simple and brilliant. You saved me. Thanks!</description>
		<content:encoded><![CDATA[<p><a href="#comment-595" rel="nofollow">@sourabh  </a><br />
Sourabh, that was simple and brilliant. You saved me. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sourabh</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-595</link>
		<dc:creator>sourabh</dc:creator>
		<pubDate>Mon, 11 Jan 2010 08:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-595</guid>
		<description>remove name attribute from the file control and this error will go.. 
njy</description>
		<content:encoded><![CDATA[<p>remove name attribute from the file control and this error will go..<br />
njy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mar</title>
		<link>http://CodeCorner.galanter.net/2009/03/10/fileupload-and-htmlfile-access-is-denied-error/comment-page-1/#comment-561</link>
		<dc:creator>Mar</dc:creator>
		<pubDate>Wed, 23 Dec 2009 18:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.galanter.net/?p=128#comment-561</guid>
		<description>thanks.....you saved me</description>
		<content:encoded><![CDATA[<p>thanks&#8230;..you saved me</p>
]]></content:encoded>
	</item>
</channel>
</rss>

