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
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.