Timeline for wp_remote_get(), downloading and saving files
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 21, 2022 at 8:51 | comment | added | Steve |
very old now, but there is an error. First line should be $data = or 2nd line should be $response['body']
|
|
Nov 15, 2015 at 20:03 | comment | added | Wiliam |
In that case we need to use 'stream' = true and 'filename' in the wp_remote_get args.
|
|
Jun 1, 2015 at 13:44 | comment | added | pronebird | what happens if you download 1GB file that way? | |
Sep 11, 2013 at 3:45 | comment | added | MikeSchinkel | Excellent answer, and good job for coming back and answering your own question. Kudos. | |
Apr 25, 2012 at 17:14 | history | answered | AndyW | CC BY-SA 3.0 |