Robin Sheat wrote:
>
> Hi, I'd like to download a file using HTTP, however instead of getting the
> result as an in-memory string, or saved to a file, I'd like to be able to
> access the content like it was a file (this is because the content downloaded
> is being written directly to another program as it is downloaded). I had a
> look through the LWP:: and WWW:: stuff, but couldn't find anything
> appropriate. Is there a way of doing this without resorting to direct socket
> access myself?

I'm not clear what you want Robin. It doesn't make sense that, just because you
are sending the content to another program, you need to read the download
through a filehandle.

One you have downloaded the remote file to memory or to local file storage you
can then open either of them and access them through a filehandle. Will that do?

Tell us a little more and we may be able to help better.

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to