Note that scp_put() is not really the same as sftp.
I find that Net::SFTP::Foreign (as mentioned alteady in this thread by
salva) with Net::SSH2 is really nice to use on Windows - and recommend it.
It makes the coding a lot simpler, and the performance is excellent and trouble-free.
Cheers,
Rob