http://www.perlmonks.org?node_id=1016017

nithins has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I have task for which i need to use Net::SFTP module to establish connection and download some files from remote machine.But unfortunately Net::SFTP is not installed in the machine i work and nor i have permission to install it. IS there any other way i can do the above work Or any other parellel module that works as "Net::SFTP"

  • Comment on Parellel module that has functionalities like net::sftp

Replies are listed 'Best First'.
Re: Parellel module that has functionalities like net::sftp
by Anonymous Monk on Jan 30, 2013 at 11:00 UTC
Re: Parellel module that has functionalities like net::sftp
by vinoth.ree (Monsignor) on Jan 30, 2013 at 11:13 UTC
Re: Parellel module that has functionalities like net::sftp
by Arunbear (Prior) on Jan 30, 2013 at 12:35 UTC
    Try cpanminus. Then
    cpanm -n Net::SFTP
    will install the module into your home directory.
Re: Parellel module that has functionalities like net::sftp
by nithins (Sexton) on Feb 02, 2013 at 06:27 UTC

    thank you every one for the above solutions, But in my case none of the above module was installed.Hence i found another way to do it.I am sharing the method i followed here just incase someone get in to my kind of situation

    Download Net::SFTP::Foreign zip file ,unzip and copy the source code DIR to ur pwd .using 'use lib 'path to unzippeed file' and use Net::SFTP::Foreign ' will enable you to use the functionalities of Net::SFTP::Foreign module locally,no need to install it and it has no dependencies on external module