3Com Switch 7750 Configuration Guide Guide

750 CHAPTER 70: FTP AND TFTP CONFIGURATION
Tabl e 582 Basic FTP client configuration
Operation Command Description
Enter FTP client view
ftp [ ftp-server [ port-number
] ]
-
Specify to transfer files in the
ASCII mode
ascii
Optional
By default, files are
transferred in ASCII
characters.
Specify to transfer files in the
binary mode
binary Optional
Specify to transfer files in the
passive mode
passive
Optional
By default, the passive mode
is adopted.
Change the work directory on
the remote FTP server
cd pathname Optional
Change the work directory to
the parent directory
cdup Optional
Get the local work directory
on the FTP client
lcd Optional
Display the directories on the
FTP server
pwd Optional
Create a directory on the
remote FTP server
mkdir pathname Optional
Remove a directory on the
remote FTP server
rmdir pathname Optional
Delete a specified file delete remotefile Optional
Query a specified file dir [ filename ] [ localfile ] Optional
Query a specified remote file ls [ remotefile ] [ localfile ]
Optional
The ls command does not
support extended parameters,
such as -a.
Download a remote file get remotefile [ localfile ] Optional
Upload a local file to the
remote FTP server
put localfile [ remotefile ] Optional
Switch to another FTP user user username [ password ] Optional
Establish a control connection
to the FTP server
open { ip-address |
server-name } [ port ]
Optional
Terminate the current FTP
connection without exiting
FTP client view
disconnect Optional
Terminate the current FTP
connection without exiting
FTP client view
close Optional
Terminate the current FTP
connection and quit to user
view
quit Optional
Terminate the current FTP
connection and quit to user
view
bye Optional
Display the on-line help on a
specified command
concerning FTP
remotehelp [
protocol-command ]
Optional