Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

weird ftp problems

0 views
Skip to first unread message

Detlef Ruedifer Schlesiger

unread,
Nov 30, 1993, 1:11:52 PM11/30/93
to
I have two very strange problems that I have no idea how to fix. First, the most annoying:

When I use the linux ftp program to transfer files to another machine, the backspace key doesn't work right. The backspace is fine before I invoke ftp, and when I'm at the `ftp>' prompt it -appears- to work fine, but any command that I use the backspace on invariably returns `?Invalid command' after I hit return.
Any command I type in correctly the first time (no backspacing) works fine.

This is quite frustrating.

Problem #2: I have 2 486 machines running linux, both installed using SLS1.03. Yet only one exhibits this problem, which is strange since I set them both up almost exactly.
When I ftp to another host from the linux box, and type `put filename' it gives me this `Bad directory structure' command. Yet I know the directories are fine, and it does this on every directory.
Using ftp from another host to the linux box works perfectly.

Strange stuff. Any help would be mucho appreciated.

CDRS
csc...@lamp0.arl.army.mil
he...@wam.umd.edu

Donald J. Becker

unread,
Nov 30, 1993, 11:41:31 PM11/30/93
to
In article <2dg2d8$n...@cville-srv.wam.umd.edu>,

Detlef Ruedifer Schlesiger <he...@wam.umd.edu> wrote:
>I have two very strange problems that I have no idea how to fix. First, the most annoying:
>
>When I use the linux ftp program to transfer files to another machine, the backspace key doesn't work right. The backspace is fine before I invoke ftp, and when I'm at the `ftp>' prompt it -appears- to work fine, but any command that I use the backspace on invariably returns `?Invalid command' after I hit return.
>Any command I type in correctly the first time (no backspacing) works fine.

The line editor in your shell (probably /bin/bash) accepts both ^H and ^?
(baskspace and delete) as valid <Delete backwards> keys. When typing at a
non-shell program only one is accepted. Do 'stty --all' to see what your
'erase' key is set to, and 'stty erase ^V<backspace>' to set it.

>Problem #2: I have 2 486 machines running linux, both installed using SLS1.03. Yet only one exhibits this problem, which is strange since I set them both up almost exactly.
>When I ftp to another host from the linux box, and type `put filename' it gives me this `Bad directory structure' command. Yet I know the directories are fine, and it does this on every directory.

Your bug description doesn't match it exactly, but the stock answer to "ftp
get/put problem" is "use 'get ./*' instead of 'get *' to avoid a bug in ftp.

--

Donald Becker bec...@super.org
IDA Supercomputing Research Center
17100 Science Drive, Bowie MD 20715 301-805-7482

0 new messages