FTP Client Commands 427
Parameter
pathname
: Directory name.
Description
Use the mkdir command to create a directory on the remote FTP Server.
User can perform this operation as long as the remote FTP server has authorized
the operation.
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
Use the passive command to set the data transmission mode to be passive
mode. Use the
undo passive command to 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
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.