O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ftp-server topdir — global

Synopsis

ftp-server topdir directory
no ftp-server topdir

Configures

The directory to which FTP clients have read/write access

Default

None (all read and write operations are denied)

Description

This command sets the directory in the router’s filesystem that FTP clients are allowed to access. Access is also allowed to subdirectories of this directory. If this command has not been given or if no ftp-server topdir has been given, no access is allowed via FTP.

Example

The following commands enable the router’s FTP server and allow it to access the directory disk1:/logs and all its subdirectories.

ftp-server enable
ftp-server topdir disk1:/logs

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required