ftp-server

Enters FTP server configuration mode to create or update a FTP server.
Syntax
ftp-server name
no ftp-server name

After the ftp-server name app name command is entered to enable FTP server configuration mode, the following configuration syntax is available:

[ host ip | password | port port number | protocol { ftp | sftp } | remote-directory directory | test | username username ]
Command Default

An FTP server is not created or updated.

Parameters
name
Name of FTP server.
host IP
Sets the FTP server IP address.
password
Sets a password.
port port number
Sets an FTP server port.
protocol
Sets the FTP protocol.
ftp
Specifies FTP.
sftp
Specifies SFTP.
remote-directory directory
Sets the FTP server remote directory.
test
Tests the FTP settings.
Modes

Global configuration mode

Usage Guidelines

The no form of the command deletes an FTP server. This command is supported on all SmartZone platforms except SmartZone Data Plane controller.

Examples

The following example enters FTP server configuration mode and updates the FTP server configurations.

device# configure
device(config)# ftp-server ftp1
ruckus(config-ftp-server)# host 1.1.1.1
ruckus(config-ftp-server)# port 21
ruckus(config-ftp-server)# protocol stp
ruckus(config-ftp-server)# username test
ruckus(config-ftp-server)# password
Password: ****
Retype: ****
ruckus(config-ftp-server)# exit
ruckus(config)#

The following example deletes an FTP server.

device# configure
device(config)# no ftp-server ftp1