Subject: Re: ftp and here docs
To: None <mike@ethmoid.org>
From: Luke Mewburn <lukem@goanna.cs.rmit.edu.au>
List: netbsd-help
Date: 05/30/1999 16:57:49
Michael Santos writes:
>
> Is here document functionality broken in 1.4's ftp? Running, e.g.,
>
> ftp localhost << EOF
> ls
> cd ..
> ls
> EOF
>
> works fine on my 1.3.3. boxes, but errors out on my sole 1.4 box with:
>
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ?Invalid command.
> 221 Goodbye.
>
> Is anybody else having this problem?
A problem similar to this was fixed in the post 1.4 tree.
Try the above with
ftp -e localhost << EOF
...
EOF
and see what happens