Copying a file from a local host to a remote host
Use the ftp command to copy a file from a local host to a remote host.
To copy a file from a local host to a remote host using the ftp command, you must first log in to the remote system either directly or indirectly. See Logging in to a remote host directly or Logging in to a remote host indirectly for instructions.
Note: The ftp command
uses the ASCII default transfer type to copy files.
To copy a file from a local host to a remote host: