3com 8807 Reference Guide

Page of 1099
998
C
HAPTER
 59: FTP&TFTP C
ONFIGURATION
 C
OMMANDS
undo passive
View
FTP Client view
Parameter
None
Description
Use the passive command to configure the data transmission mode as passive 
mode.
Use the undo passive command to configure the data transmission mode as 
active mode.
By default, the data transmission mode is passive mode
Example
# Set the data transmission to passive mode.
<SW8800> ftp
 
[ftp] passive 
put
Syntax
put localfile [ remotefile ]
View
FTP Client view
Parameter
localfile: Local file name.
remotefile: File name on the remote FTP Server.
Description
Use the put command to upload a local file to the remote FTP Server.
If the user does not specify the filename on the remote server, the system will 
consider it the same as the local file name by default.
Example
# Upload the local file temp.c to the remote FTP Server and saves it as temp1.c.
<SW8800> ftp
 
[ftp] put temp.c temp1.c 
pwd
Syntax
pwd
View
FTP Client view