RE: sftp ls command
From: Alan Cline (Alan.Cline_at_sas.com)
Date: 03/10/04
- Previous message: Maxwell Bottiger: "Re: sftp ls command"
- Maybe in reply to: alan cline: "sftp ls command"
- Next in thread: Maxwell Bottiger: "RE: sftp ls command"
- Reply: Maxwell Bottiger: "RE: sftp ls command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 10 Mar 2004 09:08:45 -0500 To: "Maxwell Bottiger" <sleepylight@jive-turkey.net>
I am writing a sftp command interpreter and parsing stdout, so my results need to be consistent. The openssh v3.4p1 on Linux doesn't accept "ls -l" but writes the results of "ls" as if it did. So, I assume it's a problem with the sftp source which I can't find.
In native Linux "ls" gives me the correct results without the permissions. I thought about a possible alias, but don't know if you can set one for an sftp command.
-----Original Message-----
From: Maxwell Bottiger [mailto:sleepylight@jive-turkey.net]
Sent: Wednesday, March 10, 2004 9:00 AM
To: Alan Cline
Cc: secureshell@securityfocus.com
Subject: Re: sftp ls command
I don't know why they're different, but if you just typle "ls -l" from the
unix box you'll get the same output.
BTW, under linux my sftp output looks like your 'unix' output. Is it
possible you have some aliases set or something?
On 9 Mar 2004, alan cline wrote:
>
>
> If I execute the sftp "ls" command from a SFTP prompt in a LINUX
> openssh v3.4p1 environment I get the results of a ls -l command.
> ie.,
>
> -rw-r--r-- 1 alclin r&d 0 Sep 10 15:16 testfile
> -rw-r--r-- 1 alclin r&d 0 Sep 10 08:49 testfile2
>
> If I execute the sftp "ls" command from a SFTP prompt in a UNIX
> openssh v3.7p1 environment the ls command works as intended. ie just
> the intended member list.,
>
> ac.pdf profile test.dat
>
> Does anyone know what version of ssh that the SFTP LS command
> functionality changed or what could be causing this?
>
-- -Maxwell Bottiger http://www.jive-turkey.net If at first you don't succeed, redefine success.
- Previous message: Maxwell Bottiger: "Re: sftp ls command"
- Maybe in reply to: alan cline: "sftp ls command"
- Next in thread: Maxwell Bottiger: "RE: sftp ls command"
- Reply: Maxwell Bottiger: "RE: sftp ls command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|