sftp on windows
"Jamie Lahowetz" <[email protected]> Tue, 19 Jun 2007 17:37:46 -0500
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <[email protected]> |
I wrote a perl script that uses Net::SFTP to connect to a server and upload files. This is done on a Windows system that required openSSH to be installed because the perl script used the 'sftp ' command in the command prompt to login to the server. I have been told by others that openssh for windows is not maintained anymore and I should be using copssh. My question is if copssh can do the same thing as OpenSSH, meaning that at the command prompt I can enter 'sftp ' and the terminal will connect? This is very important to my perl script. If it can how can I set it up? I noticed that there is a sftp.exe in the folder copSSH\bin, who do I make the file run when I type in 'sftp' from anywhere in the terminal window? Also, can I log in by typing "sftp [email protected]" in the window cause when I tried that ( after navigating to copSSH\bin and running the exe) I get the error 'exec: /usr/bin/ssh: No such file or directory'.