
To do…
Use the command…
Remarks
ftp
[
cluster
|
remote-server
[
—
Enter FTP client view
] ]
port-number
Specify to transfer files in ASCII
characters
ascii
Use either command.
By default, files are transferred
in ASCII characters.
Specify to transfer files in
binary streams
binary
Optional
Set the data transfer mode to
passive
passive
passive
by default.
Change the working directory
on the remote FTP server
cd
pathname
Change the working directory
to be the parent directory
cdup
Get the local working path on
the FTP client
lcd
Display the working directory
on the FTP server
pwd
Optional
Create a directory on the
remote FTP server
mkdir
pathname
Remove a directory on the
remote FTP server
rmdir
pathname
Delete a specified file
delete
remotefile
dir
]
[
remotefile
] [
localfile
Optional
If no file name is specified, all
the files in the current directory
are displayed.
The difference between these
two commands is that the
dir
command can display the file
name, directory as well as file
attributes; while the
Is
command can display only the
file name and directory.
Query a specified file on the
FTP server
ls
[
remotefile
] [
localfile
]
57-7