How can I read a file's contents directly with Perl's Net::FTP?
Posted
by muruga
on Stack Overflow
See other posts from Stack Overflow
or by muruga
Published on 2010-05-13T04:29:55Z
Indexed on
2010/05/15
23:30 UTC
Read the original article
Hit count: 209
perl
I want to get the file from one host to another host. We can get the file using the NET::FTP module. In that module we can use the get
method to get the file. But I want the file contents instead of the file. I know that using the read
method we can read the file contents. But how do I call the read
function and how do I get the file contents?
© Stack Overflow or respective owner