Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2016-07-30 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (265 votes). Check out past polls.