in reply to [SOLVED] Add Net::SFTP for Win 2008
I don't see Net::SFTP listed in the ppm index for that repo, it does have Net-SFTP-Foreign and Net-SFTP-Foreign-Backend-Net_SSH2.
"Reading the doc, I found I should use ppm"
I don't see any mention of this in Net::SFTP, can you tell me where you see this? You may also want to look at the reviews/bugs for this module. Consider Net::SFTP::Foreign
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Add Net::SFTP for Win 2008
by Burps (Novice) on Feb 18, 2016 at 11:43 UTC | |
My goal is to be able to do SFTP from the Windows server, whatever module I use, I don't really mind (for now...). Following your advice, I tried to install Net::SFTP::Foreign : I thought maybe the 2nd repo was a problem, so deleted it, and retried : Same error, again Any recommendation ? | [reply] [d/l] [select] |
by syphilis (Archbishop) on Feb 18, 2016 at 13:10 UTC | |
Seems odd to me that https is being called on to download from a http site. I've not seen this sort of error before with PPM. UPDATE: Try running 'ppm log' (or just 'log' if you're in the ppm shell) immediately after the error has happened. That will hopefully give a better idea of what's going wrong. There are, however, other problems with the sisyphusion repo at the moment. The hosts have messed with its accessibility again, so it looks like I'll have to contact them .... again. I keep getting "403 forbidden" errors - even though all files are readily available via the browser. Last time this happened they had to "whitelist one of ModSecurity rules", so I guess some dickhead has messed with those rules again. You can still install Net-SSH2 on your perl-5.8.8 by grabbing http://www.sisyphusion.tk/ppm/x86/Net-SSH2-58.tar.gz. Place that file in some directory along with the following file named Net-SSH2.ppd: (Beware of line wrapping if you copy'n'paste that code.) Then 'cd' to that directory and run: Then go through the same rigmarole for Net-SFTP-Foreign and Net-SFTP-Foreign-Backend-Net_SSH2 .... yuk !! Grab http://www.sisyphusion.tk/ppm/x86/Net-SFTP-Foreign-58.tar.gz and http://www.sisyphusion.tk/ppm/x86/Net-SFTP-Foreign-Backend-Net_SSH2-58.tar.gz. Net-SFTP-Foreign.ppd needs to be: Net-SFTP-Foreign-Backend-Net_SSH2.ppd needs to be: (Again - beware of line wrapping if you copy'n'paste that code.) I'll report back here once I've verified that accessibility to the sisyphusion repo has been restored. (I'm actually currently able to access it with the PPM that ships with StrawberryPerl, but not the one that ships with ActivePerl-5.8.9 .... strange.) Cheers, Rob | [reply] [d/l] [select] |
by Burps (Novice) on Feb 18, 2016 at 16:47 UTC | |
I then used your method : Download the package manually, copied the .ppd, and IT WORKED !! Thank you very much | [reply] [d/l] |
by syphilis (Archbishop) on Feb 19, 2016 at 11:18 UTC | |