Switch 7700 Command reference Guide, v2.0

Table Of Contents
FTP Client Commands 425
Example
Create the directory flash:/lanswitch on the remote FTP Server.
[ftp]mkdir flash:/lanswitch
passive Syntax
passive
undo passive
View
FTP Client view
Parameter
None
Description
Using the passive command, you can set the data transmission mode to be
passive mode. Using the
undo passive command, you can set the data
transmission mode to be active mode.
By default, the data transmission mode is passive mode
Example
Set the data transmission to passive mode.
[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
Using the put command, you can 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.
[ftp]put temp.c temp1.c
pwd Syntax
pwd