Re: sftp on windows

From: Welsh, Armand <Armand.Welsh_at_**********.***>
Date: Fri Jun 22 2007 - 20:40:03 EDT

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: ssh@erdelynet.com <ssh@erdelynet.com>
To: ssh@erdelynet.com <ssh@erdelynet.com>
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 <Armand.Welsh@sscims.com> 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: ssh@erdelynet.com < ssh@erdelynet.com <mailto:ssh@erdelynet.com> >
        To: ssh@erdelynet.com <ssh@erdelynet.com>
        Sent: Thu Jun 21 10:13:51 2007
        Subject: Re: sftp on windows
        
        On 6/20/07, Welsh, Armand <Armand.Welsh@sscims.com> 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:ssh+unsubscribe@erdelynet.com
        
        
        

-- 
Jamie Lahowetz 
--
List Info:      http://erdelynet.com/ssh-l/
List Archives:  http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:ssh+unsubscribe@erdelynet.com
Received on Fri, 22 Jun 2007 17:40:03 -0700

This archive was generated by hypermail 2.1.8 : Wed Jul 04 2007 - 17:02:59 EDT