Yes this is possible.
obce you have a Net::FTP object
$ftp->retr($file)
will return a filehandle that you can read from
Graham.
On Thu, Mar 08, 2001 at 01:13:39PM -0600, Ron Rohrssen wrote:
> Hello, I've been trying to research the possibility of opening an ftp
> connection to an ftp host and parsing the ftp stream prior to writing to
> disk. We are ftp'ing some multi-gigabyte files to PC servers. But, we only
> need a few fields from each of the records in this file. If we could strip
> out the fields in the connection stream prior to writing to disk, the app
> would be much faster. And, our disk requirements would be considerably
> smaller.
>
> I've found some documentation that talks about the net::ftp object as using
> socket and net::cmd. This seems to imply that it may be possible to
> accomplish what I want to do. (Of course this all depends on the ftp
> capability of the host server.)
>
> Has anyone written anything like this? Or, do you know where I can find
> examples that show how this may be done?
>
> Ron Rohrssen
> loc: 872 T2-R1
> 500 2nd Ave. SE
> Cedar Rapids IA 52401
> [EMAIL PROTECTED]
>