Sha256: 63f2c86b532d63e140818f86feba05b8349536094e7d679e27842b65d1365143

Contents?: true

Size: 260 Bytes

Versions: 7

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

require_relative 'command_handler'

module Ftpd

  class CmdStat < CommandHandler

    def cmd_stat(argument)
      ensure_logged_in
      syntax_error if argument
      reply "211 #{server_name_and_version}"
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ftpd-2.1.0 lib/ftpd/cmd_stat.rb
ftpd-2.0.5 lib/ftpd/cmd_stat.rb
ftpd-2.0.4 lib/ftpd/cmd_stat.rb
ftpd-2.0.3 lib/ftpd/cmd_stat.rb
ftpd-2.0.2 lib/ftpd/cmd_stat.rb
ftpd-2.0.1 lib/ftpd/cmd_stat.rb
ftpd-2.0.0 lib/ftpd/cmd_stat.rb