solaris ftp

Hi,

I trying to use ftp on solaris to get an update for my sun storage 7000 simulator, but i'm unable to get te file.
For every command I get the following.

bash-3.00# telnet localhost 21
Trying ::1...
telnet: connect to address ::1: Network is unreachable
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 solaris102 FTP server ready.
USER root
331 Password required for root.
PASS jeroen
230 User root logged in.
ls
500 'LS': command not understood.

Are you using the telnet client or the ftp client?

Using the telnet version.
But when I enter the credentials in the 7000 sim then I get the following.

stor:maintenance system updates download (uncommitted)> commit
error: download failed: Server denied you to change to the given directory
stor:maintenance system updates download (uncommitted)> get
                           url = ftp://192.168.1.6/export/ak/update/ak-nas-2010-02-09-2-1-1-1-18-nd.pkg
                          user = root
                      password = ******
stor:maintenance system updates download (uncommitted)>

May be I'm missing something but why you need to ftp to the same machine? Why don't you just go to the file?

The 7000 sim and the ftp host are different machines.

Hi Jld,

below is command of FTP

machine#ftp IP address destinatio 
machine#enter username and than password
machine#bin (to change format data)
machine# get (to grab data/file)
machine#put (to put data from source to destination)
machine#bye (to logout)