Yes, I want to download files directly to the disk, without a huge memory buffer. Content_file looks like it practically replaces the need for getstore, as you can simply set the content_file to the filename and store the file that way - without ever reading the file to memory. Am I missing something here, or is it essentially a getstore replacement? | [reply] [Watch: Dir/Any] |
Yes, replacement.
You were using LWP::Simple, it's simple interface to LWP::UserAgent.
But LWP::UserAgent (which have content_file option) is not "Simple" it's full version.
Also I believe this comment Re: LWP::Simple Getstore memory probably correct, and getstore should not eat so much memory. It looks like it's implemented same way as content_file option.
| [reply] [Watch: Dir/Any] |