328 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
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.
<SW4500>ftp 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):hello
331 Password required for hello.
Password:
230 User logged in
[ftp]mkdir flash:/lanswitch
257 "flash:/lanswitch" new directory created.
[ftp]
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.
<SW4500>ftp 1.1.1.1
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):hello
331 Password required for hello.
Password: