Ensure that you have ftp authentication.
You must have ftp authentication, as described in "Authentication for Remote Logins (ftp)".
Open a connection to a remote system by using the ftp command.
$ ftp remote-system |
If the connection succeeds, a confirmation message and prompt are displayed.
Type your user name.
Name (remote-system:user-name): user-name |
If prompted, type your password.
331 Password required for user-name: Password: password |
If the system you are accessing has an established anonymous ftp account, you are prompted for an email address for the password. If the ftp interface accepts your password, it displays a confirmation message and the (ftp>) prompt.
You can now use any of the commands that are supplied by the ftp interface, including help. The principal commands are summarized in Table 44-3.
This ftp session was established by the user smith on the remote system pluto:
$ ftp pluto Connected to pluto. 220 pluto FTP server ready. Name (pluto:smith): smith 331 Password required for smith: Password: password 230 User smith logged in. ftp> |