sftp "Received message too long " error!

I’m trying to use sftp to log in to a site’s ftp but keep getting the error “Received message too long.” I tried changing my .bashrc file to have:


if  ${TERM} != "dumb" ]; then
  test -s ~/.bashrc-local && . ~/.bashrc-local
fi

then I logged out and logged back in (from openSUSE) and it still gives me the error!

6tr6tr wrote:
> I’m trying to use sftp to log in to a site’s ftp but keep getting the
> error “Received message too long.” I tried changing my .bashrc file to
> have:

caution: i really don’t know much about sftp, but since you write “to
a site’s ftp” i wonder if the site you are tying to contact running
ftpd or sftpd?

and, if the latter i wonder if it maybe is a Window’s machine…but,
i’m not sure sftp on your command line is not a “Secure file transfer
program” http://en.wikipedia.org/wiki/Secure_file_transfer_program
which i don’t think can connect with a Windows implementation of
something very different: “SSH file transfer protocol”
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol

if it is just plain FTP site you need to just just plain FTP

what happen if you just


ftp [address]

and respond to the ID/password requests?


palladium