3com S7906E Guide De Référence

Page de 2327
 
2-21 
passive 
Syntax 
passive 
undo passive 
View 
FTP client view 
Default Level 
3: Manage level 
Parameters 
None 
Description 
Use the passive command to set the data transmission mode to passive
Use the undo passive command to set the data transmission mode to active
The default transmission mode is passive
Data transmission modes fall into the passive mode and the active mode. The active mode means that 
the data connection request is initiated by a server. The passive mode means that the data connection 
request is initiated by a client. This command is mainly used in conjunction with a firewall to restrict the 
FTP session connection between private and public network users. 
Examples 
# Set the data transmission mode to passive
[ftp] passive 
FTP: passive is on 
put 
Syntax 
put localfile [ remotefile 
View 
FTP client view 
Default Level 
3: Manage level 
Parameters 
localfile: Local file name. 
remotefile: Name of the file to be saved on the remote FTP server. 
Description 
Use the put command to upload a file to the remote FTP server.