Command Reference FTP Server Commands
the session connection is invalid and disconnects with the user.
The session idle time refers to the time for the FTP session between two FTP operations
The following example sets the session idle timeout to 5 minutes:
Ruijie(config)# ftp-server timeout 5
The following example restores the default setting.
Ruijie(config)# no ftp-server timeout
Use this command to set the directory range for the FTP client to access to the FTP server files. Use
the no form of this command to restore the default setting.
ftp-server topdir directory
No top-directory is configured by default.
Global configuration mode.
The FTP server top directory specifies the directory range of the files accessed by the client. Can the
FTP client accesses to the files on the FTP server with the top directory correctly specified.
Without this command configured, FTP client fails to access to any file or directory on the FTP server.
The following example enables the FTP Server and confines the FTP client access to the syslog
subdirectory.
Ruijie(config)# ftp-server topdir /syslog