[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ftp client's "ls" is "!ls"





On Sat, Mar 25, 2017 at 2:02 AM, <tomas@tuxteam.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Mar 24, 2017 at 04:44:17PM -0500, Kent West wrote:
> I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a
> Debian 9.0 box, and when I execute the command "ls" or "del" or do a
> tab-completion, the commands act on the local directory instead of the
> remote, so that "ls" acts like "!ls".

This is not how it's supposed to work. At least not ls (dir and ls should
both list the remote's system directory contents).

Which ftp client are you using?


westk@westkent:~$ aptitude show ftp
Package: ftp                            
Version: 0.17-34

I should make a correction to my description of the problem.

"ls" by itself shows the remote directory files

"ls <filename> looks to the local directory (as does "ls [tab-completion]" or "del <filename> | [tab-completion]"). Weird stuff.

--
Kent


Reply to: