<?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: Check for file size with JavaScript before uploading</title>
	<atom:link href="http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html</link>
	<description>Just another dumbass webmaster, goofing around...</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:57:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dhaval Vithalani</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-16597</link>
		<dc:creator>Dhaval Vithalani</dc:creator>
		<pubDate>Tue, 07 Feb 2012 10:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-16597</guid>
		<description>i am sorry but this code is not working in mozila firefox.. it&#039;s properly working IE. 
what can i do???
please do the needfull.

Thanks</description>
		<content:encoded><![CDATA[<p>i am sorry but this code is not working in mozila firefox.. it&#8217;s properly working IE.<br />
what can i do???<br />
please do the needfull.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-16237</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Wed, 07 Dec 2011 22:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-16237</guid>
		<description>This is a pretty obsolete solution, any modern web developer I know would find this laughable.</description>
		<content:encoded><![CDATA[<p>This is a pretty obsolete solution, any modern web developer I know would find this laughable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-15680</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Tue, 08 Nov 2011 07:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-15680</guid>
		<description>Error: ActiveXObject is not defined
Source file: http://localhost/projects/gold_house_furniture/admin/adproductadd.php
Line: 58</description>
		<content:encoded><![CDATA[<p>Error: ActiveXObject is not defined<br />
Source file: <a href="http://localhost/projects/gold_house_furniture/admin/adproductadd.php" rel="nofollow">http://localhost/projects/gold_house_furniture/admin/adproductadd.php</a><br />
Line: 58</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salsan @ India</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-15628</link>
		<dc:creator>Salsan @ India</dc:creator>
		<pubDate>Thu, 20 Oct 2011 07:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-15628</guid>
		<description>Its only working on Internet Explorer.</description>
		<content:encoded><![CDATA[<p>Its only working on Internet Explorer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-15615</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 12 Oct 2011 21:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-15615</guid>
		<description>Of course, they just upload 100 20GB files at once to your site, tying up all your server threads for an inordinate period of time and possibly taking down the server entirely.</description>
		<content:encoded><![CDATA[<p>Of course, they just upload 100 20GB files at once to your site, tying up all your server threads for an inordinate period of time and possibly taking down the server entirely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tams</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-15491</link>
		<dc:creator>tams</dc:creator>
		<pubDate>Mon, 08 Aug 2011 06:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-15491</guid>
		<description>I have copied this code into a html page and tested, and it shows an error called: 
&quot;Automation server can&#039;t create object&quot;</description>
		<content:encoded><![CDATA[<p>I have copied this code into a html page and tested, and it shows an error called:<br />
&#8220;Automation server can&#8217;t create object&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-15453</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 18 Jul 2011 20:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-15453</guid>
		<description>Its a Flash Based solution, If you use a non flash browser,or device, gmail will revert back to a traditional solution of uploading until the max size is reached and then, if too large gmail will then proceed in letting you know your files are too large!</description>
		<content:encoded><![CDATA[<p>Its a Flash Based solution, If you use a non flash browser,or device, gmail will revert back to a traditional solution of uploading until the max size is reached and then, if too large gmail will then proceed in letting you know your files are too large!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shyam</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-14272</link>
		<dc:creator>shyam</dc:creator>
		<pubDate>Fri, 25 Feb 2011 06:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-14272</guid>
		<description>Hi 

I hav 1 pblm in this case.The Error is  &quot; automation server can&#039;t create object &quot;.

pls reply a solutiom</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I hav 1 pblm in this case.The Error is  &#8221; automation server can&#8217;t create object &#8220;.</p>
<p>pls reply a solutiom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viswanath</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-13942</link>
		<dc:creator>Viswanath</dc:creator>
		<pubDate>Wed, 29 Dec 2010 06:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-13942</guid>
		<description>when you the upload the file of size more than 25MB in gmail attachements, it does the client side validation and shows the popup. It works both in IE and FF.
Let me know if any one has idea how gmail attachement file size limit works.</description>
		<content:encoded><![CDATA[<p>when you the upload the file of size more than 25MB in gmail attachements, it does the client side validation and shows the popup. It works both in IE and FF.<br />
Let me know if any one has idea how gmail attachement file size limit works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-11270</link>
		<dc:creator>George</dc:creator>
		<pubDate>Mon, 15 Nov 2010 12:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-11270</guid>
		<description>I tested more and it seems that no file works if it is in the root folder of my local server. 
If I move the .html file outside of this folder (ie on the desktop) it work. :( this is very annoying.

Do you have any ideeas how to make this work?</description>
		<content:encoded><![CDATA[<p>I tested more and it seems that no file works if it is in the root folder of my local server.<br />
If I move the .html file outside of this folder (ie on the desktop) it work. :( this is very annoying.</p>
<p>Do you have any ideeas how to make this work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-11269</link>
		<dc:creator>George</dc:creator>
		<pubDate>Mon, 15 Nov 2010 12:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-11269</guid>
		<description>Hi!

I have a question: I copy-pasted your code into 2 files, &quot;test.html&quot; and &quot;test.php&quot;, both in the root of my localhost server (I use xampp). These files contain nothing but your code.
The problem is that in .php file, the active x doesn&#039;t run. I receive the error:
&quot;Error: Automation server can not create object&quot;.

I repeat, in the .html file it works, in .php doesn&#039;t. Do you have an idea why this is happening?

Please send me an email when you post a reply.
Thanks and keep up the good work!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I have a question: I copy-pasted your code into 2 files, &#8220;test.html&#8221; and &#8220;test.php&#8221;, both in the root of my localhost server (I use xampp). These files contain nothing but your code.<br />
The problem is that in .php file, the active x doesn&#8217;t run. I receive the error:<br />
&#8220;Error: Automation server can not create object&#8221;.</p>
<p>I repeat, in the .html file it works, in .php doesn&#8217;t. Do you have an idea why this is happening?</p>
<p>Please send me an email when you post a reply.<br />
Thanks and keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T. Krishna Chaitanya</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-11112</link>
		<dc:creator>T. Krishna Chaitanya</dc:creator>
		<pubDate>Sat, 16 Oct 2010 05:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-11112</guid>
		<description>I think action script is the right way to check the file size at client side. But we have to force the user to install flash plugin in the browser.

Forcing the user is the right approach because instead of just uploading it to the server and checking the file size and breaking the request and asking him to upload the specified size file is somewhat time consuming. Because prevention is better than cure.

What you say. 

Regards,
kittu_564@yahoo.in</description>
		<content:encoded><![CDATA[<p>I think action script is the right way to check the file size at client side. But we have to force the user to install flash plugin in the browser.</p>
<p>Forcing the user is the right approach because instead of just uploading it to the server and checking the file size and breaking the request and asking him to upload the specified size file is somewhat time consuming. Because prevention is better than cure.</p>
<p>What you say. </p>
<p>Regards,<br />
<a href="mailto:kittu_564@yahoo.in">kittu_564@yahoo.in</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang Yang</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-10995</link>
		<dc:creator>Yang Yang</dc:creator>
		<pubDate>Mon, 20 Sep 2010 16:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-10995</guid>
		<description>Great sum-up, Tim!</description>
		<content:encoded><![CDATA[<p>Great sum-up, Tim!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timothy (TRiG)</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-10992</link>
		<dc:creator>Timothy (TRiG)</dc:creator>
		<pubDate>Mon, 20 Sep 2010 10:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-10992</guid>
		<description>There are three methods:

1. ActiveX: Works only in IE, and doesn&#039;t work nicely even there (gives a security warning).

2. Flash (or perhaps Java): It seems silly to use a plugin just for uploading files.

3. HTML5 and JavaScript: Not yet widely adopted. Works in newer versions of Firefox and Chrome. Good tips available on the Mozilla developer blogs.

TRiG.</description>
		<content:encoded><![CDATA[<p>There are three methods:</p>
<p>1. ActiveX: Works only in IE, and doesn&#8217;t work nicely even there (gives a security warning).</p>
<p>2. Flash (or perhaps Java): It seems silly to use a plugin just for uploading files.</p>
<p>3. HTML5 and JavaScript: Not yet widely adopted. Works in newer versions of Firefox and Chrome. Good tips available on the Mozilla developer blogs.</p>
<p>TRiG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: md</title>
		<link>http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html/comment-page-1#comment-9979</link>
		<dc:creator>md</dc:creator>
		<pubDate>Mon, 07 Jun 2010 09:22:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/01/check-for-file-size-with-javascript-before-uploading.html#comment-9979</guid>
		<description>upload file even space is there (java script)
example    &quot;a.doc&quot;  it is working fine  but i want to upload file &quot;a .doc &quot;</description>
		<content:encoded><![CDATA[<p>upload file even space is there (java script)<br />
example    &#8220;a.doc&#8221;  it is working fine  but i want to upload file &#8220;a .doc &#8220;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

