Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Reading zipped files with Net::SFTP

by amiss (Initiate)
on Mar 28, 2013 at 17:31 UTC ( #1026005=note: print w/replies, xml ) Need Help??


in reply to Reading zipped files with Net::SFTP

Perhaps I spoke too soon. I ended up using Net::SFTP::Foreign and writing to a file handle like this:

open my $handle, '| gunzip -c '; $ssh->get($remote, $handle) or die "get failed:".$ssh->error; print "opened handle \n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2016-09-26 23:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (493 votes). Check out past polls.