|
|
File Transfer Protocol
|
University of Hawaii at Manoa
College of Engineering
|
The ftp command is used to transfer files between the local host and
the remote host. Ftp requires the user to log into the remote machine
with his/her login ID and password. Once logged in, the user may use the
following commands to transfer files:
- ascii
- Changes the file transfer mode to ASCII (text).
- binary
- Changes the file transfer mode to binary files.
- cd [directory]
- Changes the current remote working directory.
- get remote_file [save_as_file]
- Retrieves the specified remote file from the remote system. The second
argument, save_as_file is optional, and gives the name of the file
as it will be stored on the local system. If unspecified, the file will be
stored locally with the same name.
- ls or dir
- Lists the remote files in the current remote directory.
- mget file(s)
- Retrieves many files from the remote host. (See prompt.)
- mput file(s)
- Stores many files to the remote host. (See prompt.)
- prompt
- Toggles the interactive mode. When in interactive mode, commands
such as mget and mput require a confirmation for each file
transfer.
- put local_file [save_as_file]
- Stores the specified local file on to the remote system. The second
argument, save_as_file is optional, and gives the name of the file
as it will be stored on the remote system. If unspecified, the file will
be stored remotely with the same name.
- user
- Connect to the remote system as a user to begin an ftp session. (The
user has already established a connection, this is not necessary.)
Note that for PCs in POST, there are FTP
clients called WSftp available which have
graphically-oriented interfaces to allow file transfers to and from Wiliki.
The easiest way to transfer files on floppies to Wiliki would be to use one of
these two programs. Ask the lab monitors for more
information the usage of these two programs.
Previous
Next
Next Section
Index
|