3com 8807 Guia De Referência

Página de 1099
996
C
HAPTER
 59: FTP&TFTP C
ONFIGURATION
 C
OMMANDS
Parameter
localfile: Local file name.
remotefile: Name of a file on the remote FTP Server.
Description
Use the get command to download a remote file and save it locally.
If no local file name is specified, it will be considered the same as that on the 
remote FTP Server.
Example
# Download the file temp1.c and saves it as temp.c
<SW8800> ftp
 
[ftp] get temp1.c temp.c 
lcd
Syntax
lcd
View
FTP Client view
Parameter
None
Description
Use the lcd command to view local working path of FTP Client.
Example
# Show local working path.
<SW8800> ftp
 
[ftp] lcd
 
% Local directory now flash:/temp 
ls
Syntax
ls [ remotefile ] [ localfile ]
View
FTP Client view
Parameter
remotefile: Remote file to be queried.
localfile: Saves local file name of the query result.
Description
Use the ls command to query a specified file.
If no parameter is specified, all the files will be shown.