<?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: AJAX File upload Progress</title>
	<atom:link href="http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/</link>
	<description>The weblog of Joshua Eichorn, AJAX, PHP and Open Source</description>
	<pubDate>Wed, 20 Aug 2008 17:06:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1-alpha</generator>
		<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-496455</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Tue, 17 Jun 2008 16:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-496455</guid>
		<description>WXP:
I'm not sure why you would want to make a sync request it locks the browser ui.  But if you wanted to use the new version of this code and just update the call to use the sync version by removing the callback function.</description>
		<content:encoded><![CDATA[<p>WXP:<br />
I&#8217;m not sure why you would want to make a sync request it locks the browser ui.  But if you wanted to use the new version of this code and just update the call to use the sync version by removing the callback function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WXP</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-496185</link>
		<dc:creator>WXP</dc:creator>
		<pubDate>Tue, 17 Jun 2008 10:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-496185</guid>
		<description>(How) Can I change the request method from async to sync?</description>
		<content:encoded><![CDATA[<p>(How) Can I change the request method from async to sync?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JF</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-472159</link>
		<dc:creator>JF</dc:creator>
		<pubDate>Tue, 20 May 2008 19:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-472159</guid>
		<description>Hi all,

Why not using an upload applet to do all these stuff ? It would be simpler.</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>Why not using an upload applet to do all these stuff ? It would be simpler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-446282</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Sat, 26 Apr 2008 03:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-446282</guid>
		<description>Joshua,
///////////
This may sound like a simple or even stupid question, but how would I store or capture that a good session has started? How would I do the error handling for a failed session? I will eventually figure it out as I usually do, but I hope I dont have to waste any more time with this.  :-)
////////////
By the way, I am running Apache 2.2, ext3 filesystem, php 5.2 and the latest ubuntu server with updates, but I am still unable to pass the 1.99GB barrier.
///////////
apache2 -v says:
Server version: Apache/2.2.4 (Ubuntu)
///////////
php -v on command line says:
PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
///////////
PHP web environment says:
PHP Version 5.2.3-1ubuntu6.3
///////////
Will switching to a 64bit hardware and OS version be a guaranteed fix for this issue?
///////////
Dinesh</description>
		<content:encoded><![CDATA[<p>Joshua,<br />
///////////<br />
This may sound like a simple or even stupid question, but how would I store or capture that a good session has started? How would I do the error handling for a failed session? I will eventually figure it out as I usually do, but I hope I dont have to waste any more time with this.  <img src='http://blog.joshuaeichorn.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> <br />
////////////<br />
By the way, I am running Apache 2.2, ext3 filesystem, php 5.2 and the latest ubuntu server with updates, but I am still unable to pass the 1.99GB barrier.<br />
///////////<br />
apache2 -v says:<br />
Server version: Apache/2.2.4 (Ubuntu)<br />
///////////<br />
php -v on command line says:<br />
PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)<br />
///////////<br />
PHP web environment says:<br />
PHP Version 5.2.3-1ubuntu6.3<br />
///////////<br />
Will switching to a 64bit hardware and OS version be a guaranteed fix for this issue?<br />
///////////<br />
Dinesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-446034</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Fri, 25 Apr 2008 20:51:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-446034</guid>
		<description>Dinesh:
I belive the problem is that you can get a null response for 2 reasons.  The upload is complete or it failed.  I was just suggesting storing that you've started a good upload  in the session to differentiate.

The 2gb limit shouldn't be due to a OS limit on any modern system.  But only apache 2.2 &gt; support files over 2gb and I have no clue about the PHP upload processing code which is what really matter in this case.</description>
		<content:encoded><![CDATA[<p>Dinesh:<br />
I belive the problem is that you can get a null response for 2 reasons.  The upload is complete or it failed.  I was just suggesting storing that you&#8217;ve started a good upload  in the session to differentiate.</p>
<p>The 2gb limit shouldn&#8217;t be due to a OS limit on any modern system.  But only apache 2.2 > support files over 2gb and I have no clue about the PHP upload processing code which is what really matter in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-446022</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Fri, 25 Apr 2008 20:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-446022</guid>
		<description>Joshua,
////////
Re: #1: I am not sure I understand your response. I will need some more time to think about your response and research it. Re: #2: Would it be possible to bypass the 2 GB linux file limit for 32bit OS'es if I created a raw partition for the files?...or would the OS still impose that 2 GB limit on that partition? I know that this is off topic, but any help would be greatly appreciated. I read something about LFS support (large file system), but will that work for Apache/PHP also?
////////
From what I read on the php list, you are right, it is not a priority, but I wish it was.
////////
Thanks
Dinesh</description>
		<content:encoded><![CDATA[<p>Joshua,<br />
////////<br />
Re: #1: I am not sure I understand your response. I will need some more time to think about your response and research it. Re: #2: Would it be possible to bypass the 2 GB linux file limit for 32bit OS&#8217;es if I created a raw partition for the files?&#8230;or would the OS still impose that 2 GB limit on that partition? I know that this is off topic, but any help would be greatly appreciated. I read something about LFS support (large file system), but will that work for Apache/PHP also?<br />
////////<br />
From what I read on the php list, you are right, it is not a priority, but I wish it was.<br />
////////<br />
Thanks<br />
Dinesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-445872</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Fri, 25 Apr 2008 15:59:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-445872</guid>
		<description>I'm not sure on #1, maybe a null after a good value is complete and a null before a good value is an error.  You could track the status in the session.

For #2 its doubtful that files over 2gb work (at least on 32bit oses)  normally you have to do special stuff to go larger and i doubt thats been a priority.  If you want the details you should ask on a general php list.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure on #1, maybe a null after a good value is complete and a null before a good value is an error.  You could track the status in the session.</p>
<p>For #2 its doubtful that files over 2gb work (at least on 32bit oses)  normally you have to do special stuff to go larger and i doubt thats been a priority.  If you want the details you should ask on a general php list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-445443</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Fri, 25 Apr 2008 04:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-445443</guid>
		<description>Joshua,

Ok, this is a 2 part question:
///////////////
1) Going back to post number 222 on this blog, please note that in your own script file i.e. UploadProgressMeterStatus.class.php you are returning the message Upload Complete when the uploadprogress_get_info() is returning null so how would I detect the error and return an error message to the client in this case? Maybe I am missing something. Basically how would I differentiate between somebody attempting to upload a file larger than the upload_max_filesize in php ini versus a completely legitimate file that has completed it's upload?
//////////////
2) It appears that the post_max_size limit is 1.99G in the php.ini file. I am unable to make it work with anything larger than that value. I get an error as follows: Apr 24 20:37:04 web1 apache2: PHP Warning:  Unknown: POST Content-Length of 44 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0
//////////////
Is there really a 1.99GB limit? Is there a way to upload files larger than 1.99GB?
I'm sorry for asking tough questions and sorry if I am giving you a hard time, but I have searched for days looking for an answer and you are the only person that I can think of that may be able to answer these questions successfully.
//////////////
Thanks,
Dinesh</description>
		<content:encoded><![CDATA[<p>Joshua,</p>
<p>Ok, this is a 2 part question:<br />
///////////////<br />
1) Going back to post number 222 on this blog, please note that in your own script file i.e. UploadProgressMeterStatus.class.php you are returning the message Upload Complete when the uploadprogress_get_info() is returning null so how would I detect the error and return an error message to the client in this case? Maybe I am missing something. Basically how would I differentiate between somebody attempting to upload a file larger than the upload_max_filesize in php ini versus a completely legitimate file that has completed it&#8217;s upload?<br />
//////////////<br />
2) It appears that the post_max_size limit is 1.99G in the php.ini file. I am unable to make it work with anything larger than that value. I get an error as follows: Apr 24 20:37:04 web1 apache2: PHP Warning:  Unknown: POST Content-Length of 44 bytes exceeds the limit of -2147483648 bytes in Unknown on line 0<br />
//////////////<br />
Is there really a 1.99GB limit? Is there a way to upload files larger than 1.99GB?<br />
I&#8217;m sorry for asking tough questions and sorry if I am giving you a hard time, but I have searched for days looking for an answer and you are the only person that I can think of that may be able to answer these questions successfully.<br />
//////////////<br />
Thanks,<br />
Dinesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-440468</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Sat, 19 Apr 2008 03:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-440468</guid>
		<description>Joshua,

Is there a way to show the name of the file that is being uploaded (including for multiple file uploads)?  For example: bytes_total shows the total bytes, I was wondering if there is anything for the real file name and temporary file name? I am looking to put this in the UploadProgresssMeterStatus.class.php file.</description>
		<content:encoded><![CDATA[<p>Joshua,</p>
<p>Is there a way to show the name of the file that is being uploaded (including for multiple file uploads)?  For example: bytes_total shows the total bytes, I was wondering if there is anything for the real file name and temporary file name? I am looking to put this in the UploadProgresssMeterStatus.class.php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Eichorn</title>
		<link>http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/#comment-440346</link>
		<dc:creator>Joshua Eichorn</dc:creator>
		<pubDate>Fri, 18 Apr 2008 22:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.joshuaeichorn.com/archives/2005/04/29/ajax-file-upload-progress/#comment-440346</guid>
		<description>Clint:
You have to move the uploaded file at the end of the upload progress just like any other PHP upload script. There is a comment in the code showing you where to edit.

See the php manual for instructions on how to handle the file upload, none of the upload process is changed

Also you may want to check out the new version of this script, which has shows how to show the hidden iframe for debugging.</description>
		<content:encoded><![CDATA[<p>Clint:<br />
You have to move the uploaded file at the end of the upload progress just like any other PHP upload script. There is a comment in the code showing you where to edit.</p>
<p>See the php manual for instructions on how to handle the file upload, none of the upload process is changed</p>
<p>Also you may want to check out the new version of this script, which has shows how to show the hidden iframe for debugging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
