Module: Ftpd

Defined in:
lib/ftpd/command_sequence_checker.rb,
lib/ftpd.rb,
lib/ftpd/error.rb,
lib/ftpd/server.rb,
lib/ftpd/session.rb,
lib/ftpd/temp_dir.rb,
lib/ftpd/file_info.rb,
lib/ftpd/exceptions.rb,
lib/ftpd/ftp_server.rb,
lib/ftpd/tls_server.rb,
lib/ftpd/auth_levels.rb,
lib/ftpd/list_format/ls.rb,
lib/ftpd/disk_file_system.rb,
lib/ftpd/list_format/eplf.rb,
lib/ftpd/exception_translator.rb,
lib/ftpd/insecure_certificate.rb,
lib/ftpd/translate_exceptions.rb,
lib/ftpd/read_only_disk_file_system.rb,
lib/ftpd/file_system_error_translator.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: Error, InsecureCertificate, ListFormat, TempDir, TranslateExceptions Classes: CommandError, CommandSequenceChecker, DiskFileSystem, ExceptionTranslator, FileInfo, FileSystemError, FileSystemErrorTranslator, FtpServer, FtpServerError, PermanentFileSystemError, ReadOnlyDiskFileSystem, Server, Session, TlsServer, TransientFileSystemError

Constant Summary collapse

AUTH_USER =

Authorization levels for FtpServer#auth_level

0
AUTH_PASSWORD =
1
AUTH_ACCOUNT =
2