Issue Type: Improvement Created: 2009-05-19T08:44:15.000+0000 Last Updated: 2009-12-31T00:48:22.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)
Reporter: Kristof Coomans (cyberwolf) Assignee: Stanislav Malyshev (stas) Tags: - Zend_Http_Client
Related issues: - ZF-6736
Currently the full file data need to be passed to putObject(), and can cause problems with PHP's memory limit with large files.
Specifying a file name or PHP steam from which the data is gradually copied (without putting it into a PHP string) when the HTTP request is actually made would be better. This most likely requires changes in Zend_HTTP_Client and its adapters as well. As for the Socket adapter, using stream_copy_to_stream() works perfect.
Slightly related to some elements of the comments on ZF-3758
Posted by Benjamin Eberlei (beberlei) on 2009-07-05T03:28:42.000+0000
I am not familiar with S3 APi, but does this not work with the cURL adapter?
Posted by Kristof Coomans (cyberwolf) on 2009-07-05T03:55:49.000+0000
The PHP curl extensiion is not available on all PHP environments, so that is not a general solution.
Posted by Stanislav Malyshev (stas) on 2009-11-16T17:20:48.000+0000
Needs ZF-6736 for streaming, I'll take care of it.
Posted by Stanislav Malyshev (stas) on 2009-11-24T14:48:43.000+0000
Fixed in trunk, now S3 supports streaming in upload and download.
Posted by Jason Webster (jasonistaken) on 2009-12-31T00:48:21.000+0000
So, looks like this'll be in 1.10
Have you found an issue?
See the Overview section for more details.