http://qs321.pair.com?node_id=868689


in reply to SFTP on Windows

I used Net::SFTP::Foreign for a deployment system. It works from both windows and linux clients. On the windows side, each client has to have plink installed, which is available from putty. You only need Expect if you need password authentication on windows. We didn't since everyone has keys set up.

Replies are listed 'Best First'.
Re^2: SFTP on Windows
by Limbic~Region (Chancellor) on Nov 01, 2010 at 13:22 UTC
    saberworks,
    You only need Expect if you need password authentication on windows.

    Exactly. Perhaps I had unrealistic expectations but since Net::SFTP has been around since 2003, I would have hoped that Win32 support was available. If you read the CPAN ratings - it looks stagnant. I am just as suprised that the alternatives require such heavy dependencies. Yes, I know "patches welcome". I am pretty sure I actually made Net::SFTP work on windows by changing 3 lines in Net::SSH::Perl but I am not willing to bet on it.

    Cheers - L~R