<?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: Uploading files to Rackspace Cloud (Mosso) using PHP API</title>
	<atom:link href="http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/</link>
	<description></description>
	<lastBuildDate>Wed, 15 Dec 2010 23:17:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Brian Roscher</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-6033</link>
		<dc:creator>Brian Roscher</dc:creator>
		<pubDate>Mon, 13 Dec 2010 18:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-6033</guid>
		<description>Using a tweak of your script, I was able to upload files to the Rackspace Cloud.  Great... now how do I download them?</description>
		<content:encoded><![CDATA[<p>Using a tweak of your script, I was able to upload files to the Rackspace Cloud.  Great... now how do I download them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-3198</link>
		<dc:creator>Curtis</dc:creator>
		<pubDate>Tue, 14 Sep 2010 02:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-3198</guid>
		<description>Hi Wez,

I&#039;m on RackSpace Cloud too and have had issues uploading very large files as Milo does...  I believe my issue is either the tmp folder on their PHP cluster fills up or their load balancer&#039;s limits the script to  30 secs. Either way I can&#039;t change those settings.

They have suggested that I use Cloud files to solve this issue but if what you say is true then I would have the same problems.   

Have you uploaded very large files to cloud files via the PHP API?</description>
		<content:encoded><![CDATA[<p>Hi Wez,</p>
<p>I'm on RackSpace Cloud too and have had issues uploading very large files as Milo does...  I believe my issue is either the tmp folder on their PHP cluster fills up or their load balancer's limits the script to  30 secs. Either way I can't change those settings.</p>
<p>They have suggested that I use Cloud files to solve this issue but if what you say is true then I would have the same problems.   </p>
<p>Have you uploaded very large files to cloud files via the PHP API?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rifat</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-1726</link>
		<dc:creator>Rifat</dc:creator>
		<pubDate>Fri, 30 Jul 2010 07:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-1726</guid>
		<description>Hi,

I am getting following errors while uploading large files (25MB, 43MB, 87MB): 

Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 23

Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 24

Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 29

Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 30

Fatal error: Uncaught exception &#039;IOException&#039; with message &#039;Could not open file for reading: &#039; in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\includes\cloudfiles\cloudfiles.php:2007 Stack trace: #0 C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php(32): CF_Object-&gt;load_from_filename(NULL) #1 {main} thrown in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\includes\cloudfiles\cloudfiles.php on line 2007


These errors show up after around 10-15 minutes of starting upload, it seems to process the request till that time. It works fine when files are smaller in size. I have added the following lines in the beginning of the upload script:

set_time_limit(0);
ini_set(&quot;upload_max_filesize&quot;, &quot;1000M&quot;);
ini_set(&quot;post_max_size&quot;, &quot;1001M&quot;);
ini_set(&quot;memory_limit&quot;, &quot;1002M&quot;);
ini_set(&quot;max_input_time&quot;, &quot;7200&quot;);

What might be the problem? Any thoughts?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting following errors while uploading large files (25MB, 43MB, 87MB): </p>
<p>Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 23</p>
<p>Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 24</p>
<p>Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 29</p>
<p>Notice: Undefined index: upload in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php on line 30</p>
<p>Fatal error: Uncaught exception 'IOException' with message 'Could not open file for reading: ' in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\includes\cloudfiles\cloudfiles.php:2007 Stack trace: #0 C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\cloudup.php(32): CF_Object-&gt;load_from_filename(NULL) #1 {main} thrown in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.mysite.com\tools\admin\includes\cloudfiles\cloudfiles.php on line 2007</p>
<p>These errors show up after around 10-15 minutes of starting upload, it seems to process the request till that time. It works fine when files are smaller in size. I have added the following lines in the beginning of the upload script:</p>
<p>set_time_limit(0);<br />
ini_set("upload_max_filesize", "1000M");<br />
ini_set("post_max_size", "1001M");<br />
ini_set("memory_limit", "1002M");<br />
ini_set("max_input_time", "7200");</p>
<p>What might be the problem? Any thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joshb</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-1018</link>
		<dc:creator>joshb</dc:creator>
		<pubDate>Tue, 22 Jun 2010 03:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-1018</guid>
		<description>well i&#039;m sure Milo solved his problem but I thought it might be worth mentioning.  Not only is there a upload_max_filesize but there is also an upload max for form posts.  (exact variable name I don&#039;t remember)   That variable also has to be set large enough to allow a large file.</description>
		<content:encoded><![CDATA[<p>well i'm sure Milo solved his problem but I thought it might be worth mentioning.  Not only is there a upload_max_filesize but there is also an upload max for form posts.  (exact variable name I don't remember)   That variable also has to be set large enough to allow a large file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wez Pyke</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-328</link>
		<dc:creator>Wez Pyke</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-328</guid>
		<description>@Milo I&#039;m not quite sure why it is returning an error when you upload a 90mb file, sorry. You could ask the developers on Twitter @CloudFusion.

I hope you can resolve your problem.</description>
		<content:encoded><![CDATA[<p>@Milo I'm not quite sure why it is returning an error when you upload a 90mb file, sorry. You could ask the developers on Twitter @CloudFusion.</p>
<p>I hope you can resolve your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milo</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-327</link>
		<dc:creator>Milo</dc:creator>
		<pubDate>Thu, 18 Mar 2010 05:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-327</guid>
		<description>Hi Wez
I set the php upload_max_filesize to 400mb but i get an error when i upload a 90mb file.
Any thoughts?

Regards

Marcelo</description>
		<content:encoded><![CDATA[<p>Hi Wez<br />
I set the php upload_max_filesize to 400mb but i get an error when i upload a 90mb file.<br />
Any thoughts?</p>
<p>Regards</p>
<p>Marcelo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milo</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-325</link>
		<dc:creator>Milo</dc:creator>
		<pubDate>Wed, 17 Mar 2010 20:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-325</guid>
		<description>I resolved my issue.
Thanks
M.</description>
		<content:encoded><![CDATA[<p>I resolved my issue.<br />
Thanks<br />
M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milo</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-324</link>
		<dc:creator>Milo</dc:creator>
		<pubDate>Wed, 17 Mar 2010 18:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-324</guid>
		<description>Hi there
I am getting the following error when I try to use the form:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php  on line 209

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php on line 1140

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php on line 1140

Any thoughts?

Thanks

Milo</description>
		<content:encoded><![CDATA[<p>Hi there<br />
I am getting the following error when I try to use the form:<br />
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php  on line 209</p>
<p>Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php on line 1140</p>
<p>Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/universeoffaith.com/httpdocs/v_upload_RSCloud/cloudfiles/cloudfiles_http.php on line 1140</p>
<p>Any thoughts?</p>
<p>Thanks</p>
<p>Milo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-314</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 24 Feb 2010 09:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-314</guid>
		<description>Thank you so much! This is a great tutorial! If you end up doing the &#039;advanced uploader tutorial&#039; I&#039;d be very interested! Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you so much! This is a great tutorial! If you end up doing the 'advanced uploader tutorial' I'd be very interested! Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M.M.H.Masud</title>
		<link>http://www.thetutorialblog.com/php/uploading-files-to-rackspace-cloud-mosso-using-php-api/comment-page-1/#comment-310</link>
		<dc:creator>M.M.H.Masud</dc:creator>
		<pubDate>Sat, 20 Feb 2010 15:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetutorialblog.com/?p=142#comment-310</guid>
		<description>i do everything as you say. But i am having this following error:

Fatal error: Uncaught exception &#039;BadContentTypeException&#039; with message &#039;Required Content-Type not set&#039; in C:\xampp\htdocs\rackspace\cloudfiles.php:1645 Stack trace: #0 C:\xampp\htdocs\rackspace\cloudfiles.php(1962): CF_Object-&gt;_guess_content_type(&#039;C:\xampp\tmp\ph...&#039;) #1 C:\xampp\htdocs\rackspace\upload.php(24): CF_Object-&gt;load_from_filename(&#039;C:\xampp\tmp\ph...&#039;) #2 {main} thrown in C:\xampp\htdocs\rackspace\cloudfiles.php on line 1645

can you please tell me what the problem is ?

thanks</description>
		<content:encoded><![CDATA[<p>i do everything as you say. But i am having this following error:</p>
<p>Fatal error: Uncaught exception 'BadContentTypeException' with message 'Required Content-Type not set' in C:\xampp\htdocs\rackspace\cloudfiles.php:1645 Stack trace: #0 C:\xampp\htdocs\rackspace\cloudfiles.php(1962): CF_Object-&gt;_guess_content_type('C:\xampp\tmp\ph...') #1 C:\xampp\htdocs\rackspace\upload.php(24): CF_Object-&gt;load_from_filename('C:\xampp\tmp\ph...') #2 {main} thrown in C:\xampp\htdocs\rackspace\cloudfiles.php on line 1645</p>
<p>can you please tell me what the problem is ?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

