Module: Ftpd

Defined in:
lib/ftpd/command_sequence_checker.rb,
lib/ftpd/error.rb,
lib/ftpd/stream.rb,
lib/ftpd/telnet.rb,
lib/ftpd/server.rb,
lib/ftpd/config.rb,
lib/ftpd/session.rb,
lib/ftpd/cmd_cwd.rb,
lib/ftpd/cmd_pwd.rb,
lib/ftpd/cmd_rmd.rb,
lib/ftpd/cmd_mkd.rb,
lib/ftpd/cmd_quit.rb,
lib/ftpd/cmd_help.rb,
lib/ftpd/cmd_rest.rb,
lib/ftpd/cmd_auth.rb,
lib/ftpd/cmd_stou.rb,
lib/ftpd/cmd_size.rb,
lib/ftpd/cmd_dele.rb,
lib/ftpd/cmd_pbsz.rb,
lib/ftpd/cmd_allo.rb,
lib/ftpd/cmd_mdtm.rb,
lib/ftpd/cmd_rein.rb,
lib/ftpd/cmd_opts.rb,
lib/ftpd/cmd_type.rb,
lib/ftpd/cmd_cdup.rb,
lib/ftpd/cmd_smnt.rb,
lib/ftpd/cmd_stru.rb,
lib/ftpd/cmd_nlst.rb,
lib/ftpd/cmd_mode.rb,
lib/ftpd/cmd_prot.rb,
lib/ftpd/cmd_list.rb,
lib/ftpd/cmd_feat.rb,
lib/ftpd/cmd_appe.rb,
lib/ftpd/cmd_noop.rb,
lib/ftpd/cmd_abor.rb,
lib/ftpd/cmd_port.rb,
lib/ftpd/cmd_eprt.rb,
lib/ftpd/cmd_epsv.rb,
lib/ftpd/cmd_stat.rb,
lib/ftpd/cmd_retr.rb,
lib/ftpd/cmd_stor.rb,
lib/ftpd/temp_dir.rb,
lib/ftpd/cmd_syst.rb,
lib/ftpd/cmd_site.rb,
lib/ftpd/cmd_pasv.rb,
lib/ftpd/list_path.rb,
lib/ftpd/protocols.rb,
lib/ftpd/file_info.rb,
lib/ftpd/cmd_login.rb,
lib/ftpd/tls_server.rb,
lib/ftpd/ftp_server.rb,
lib/ftpd/cmd_rename.rb,
lib/ftpd/exceptions.rb,
lib/ftpd/null_logger.rb,
lib/ftpd/auth_levels.rb,
lib/ftpd/command_loop.rb,
lib/ftpd/list_format/ls.rb,
lib/ftpd/session_config.rb,
lib/ftpd/command_handler.rb,
lib/ftpd/disk_file_system.rb,
lib/ftpd/command_handlers.rb,
lib/ftpd/list_format/eplf.rb,
lib/ftpd/gets_peer_address.rb,
lib/ftpd/file_system_helper.rb,
lib/ftpd/connection_tracker.rb,
lib/ftpd/connection_throttle.rb,
lib/ftpd/insecure_certificate.rb,
lib/ftpd/translate_exceptions.rb,
lib/ftpd/exception_translator.rb,
lib/ftpd/data_connection_helper.rb,
lib/ftpd/command_handler_factory.rb,
lib/ftpd/read_only_disk_file_system.rb

Overview

Some commands are supposed to occur in sequence. For example, USER must be immediately followed by PASS. This class keeps track of when a specific command either must arrive or must not arrive, and raises a “bad sequence” error when commands arrive in the wrong sequence.

Defined Under Namespace

Modules: DataConnectionHelper, Error, FileSystemHelper, GetsPeerAddress, InsecureCertificate, ListFormat, ListPath, TempDir, TranslateExceptions Classes: CmdAbor, CmdAllo, CmdAppe, CmdAuth, CmdCdup, CmdCwd, CmdDele, CmdEprt, CmdEpsv, CmdFeat, CmdHelp, CmdList, CmdLogin, CmdMdtm, CmdMkd, CmdMode, CmdNlst, CmdNoop, CmdOpts, CmdPasv, CmdPbsz, CmdPort, CmdProt, CmdPwd, CmdQuit, CmdRein, CmdRename, CmdRest, CmdRetr, CmdRmd, CmdSite, CmdSize, CmdSmnt, CmdStat, CmdStor, CmdStou, CmdStru, CmdSyst, CmdType, CommandHandler, CommandHandlerFactory, CommandHandlers, CommandLoop, CommandSequenceChecker, Config, ConnectionThrottle, ConnectionTracker, DiskFileSystem, ExceptionTranslator, FileInfo, FileSystemError, FtpServer, FtpServerError, NullLogger, PermanentFileSystemError, Protocols, ReadOnlyDiskFileSystem, Server, Session, SessionConfig, Stream, Telnet, TlsServer, TransientFileSystemError

Constant Summary collapse

AUTH_USER =

Authorization levels for FtpServer#auth_level

0
AUTH_PASSWORD =
1
AUTH_ACCOUNT =
2