Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Net::SCP::Expect Windows XP

by salva (Abbot)
on Mar 29, 2014 at 00:04 UTC ( #1080169=note: print w/replies, xml ) Need Help??


in reply to Net::SCP::Expect Windows XP

Net::SCP and Net::SCP::Expect are two different unrelated modules.

Net::SCP::Expect requires Expect which doesn't work on Windows (well, actually, it does works under Cygwin perl).

Net::SCP may work on Windows but it doesn't support password authentication.

You may like to check Net::SSH2 or Net::SSH::Any or, if you can use SFTP instead of SCP, Net::SFTP::Foreign+Net::SFTP::Foreign::Backend::Net_SSH2+Net::SSH2.

Replies are listed 'Best First'.
Re^2: Net::SCP::Expect Windows XP
by anttikutoja (Initiate) on Mar 31, 2014 at 06:01 UTC

    Hello all,

    Many thanks for the replies. I tried Net::SSH but it also failed with a message that I should "Install a proper OS"! :)

    I guess I will have to write my own uploader. Shame because the GNU/Linux version in perl is working perfectly.

      I think you mean Net::OpenSSH which does not support Windows. Net::SSH is a different unrelated module which, BTW, works on Windows but doesn't support password authentication.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-10-01 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.