[wp-trac] [WordPress Trac] #16236: Method to stream file downloads in HTTP API, to reduce update memory footprint
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 28 15:35:53 UTC 2011
#16236: Method to stream file downloads in HTTP API, to reduce update memory
footprint
---------------------------------+-----------------------------
Reporter: markjaquith | Owner: sivel
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: Future Release
Component: HTTP | Version:
Severity: normal | Resolution:
Keywords: 3.2-early has-patch |
---------------------------------+-----------------------------
Comment (by sivel):
Would it make sense to add another arg to download_url()? I am thinking
in terms of media_sideload_image/wp_handle_sideload. Looks like we
download to a temp directory and then later move it over to uploads.
Perhaps we could cut out some code and just dump it directly in?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16236#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list