Re: sftp on windows
"Welsh, Armand" <[email protected]> Fri, 22 Jun 2007 17:40:03 -0700
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <3F0EB7D79FF12F40BC906E52D34D2C420151DF84@INE000PA.IMSWEST.SSCIMS.com> |
Without an actual error dump, this is all just speculation. As for lls, I thought it was ls that was missing and that you were testing it from an ssh session. The sftp session is certainly different than ftp. Each distribution of sftp has slightly different commands. Since lls in sftp is a local ls, it may be that the command is not available in the openssh client that you are using. Search google for putty, and see if that sftp client provides the necessay interface for your application. Is this perl script open source? I would be willing to try it on my systems. Armand Welsh -------------------------- Sent from my BlackBerry Wireless Handheld ----- Original Message ----- From: [email protected] <[email protected]> To: [email protected] <[email protected]> Sent: Fri Jun 22 16:35:12 2007 Subject: Re: sftp on windows The server is a linux server that sftp is connecting to. my windows also has ls.exe in the system32 folder. should there be an lls.exe file in the copSSH directory? for some reason I get the error during my perl script stating that there is 'no file name or directory'. Could this be because the lls command does not work? On 6/21/07, Welsh, Armand <[email protected]> wrote: does the ssh server have ls.exe installed? (I assume the server is cygwin based ssh server) Many copSSH users will use it because it doesn't come with the full cygwin package. Ls may not be part of that package. You can just copy the missing files that you need from a cygwin install package into your copSSH bin directory. Armand Welsh -------------------------- Sent from my BlackBerry Wireless Handheld ----- Original Message ----- From: [email protected] < [email protected] <mailto:[email protected]> > To: [email protected] <[email protected]> Sent: Thu Jun 21 10:13:51 2007 Subject: Re: sftp on windows On 6/20/07, Welsh, Armand <[email protected]> wrote: Check that the bin directory where your sftp.exe is located, is in your path. If it is, then you should be able to type sftp by itself to see if you get the list of commandline options back. If you don't, then do a search on you hard drive for the cygwin.dll file. If you have more than one, make sure only the one supplied with copSSH is in you path. It works now. When sftp into the server and type 'lls' I get the error: Couldn't execute "/bin/sh": No such file of directory Shell exited with status 1 How can I fix this? -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ <http://erdelynet.com/archive/ssh-l/> To Unsubscribe: Mail mailto:[email protected] -- Jamie Lahowetz -- List Info: http://erdelynet.com/ssh-l/ List Archives: http://erdelynet.com/archive/ssh-l/ To Unsubscribe: Mail mailto:[email protected]