Sha256: 76cc6613a9a79a79b0d846e291e9b8c413277e73fbec5fb5af3e3deb46f6123b

Contents?: true

Size: 1.31 KB

Versions: 29

Compression:

Stored size: 1.31 KB

Contents

Feature: File Structure

  As a server
  I want to accept the obsolute file structure (STRU) command
  For compatability

  Background:
    Given the test server is started

  Scenario: File
  Given a successful login
  And the server has file "ascii_unix"
  When the client successfully sets file structure "F"
  And the client successfully gets text "ascii_unix"
  Then the remote file "ascii_unix" should match the local file

  Scenario: Record
    Given a successful login
    And the server has file "ascii_unix"
    When the client sets file structure "R"
    Then the server returns a file structure not implemented error

  Scenario: Page
    Given a successful login
    And the server has file "ascii_unix"
    When the client sets file structure "P"
    Then the server returns a file structure not implemented error

  Scenario: Invalid
    Given a successful login
    And the server has file "ascii_unix"
    When the client sets file structure "*"
    Then the server returns an invalid file structure error

  Scenario: Not logged in
    Given a successful connection
    When the client sets file structure "F"
    Then the server returns a not logged in error

  Scenario: Missing parameter
    Given a successful login
    When the client sets file structure with no parameter
    Then the server returns a syntax error

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
ftpd-0.5.0 features/ftp_server/file_structure.feature
ftpd-0.4.0 features/ftp_server/file_structure.feature
ftpd-0.3.2 features/ftp_server/file_structure.feature
ftpd-0.3.1 features/ftp_server/file_structure.feature
ftpd-0.2.2 features/ftp_server/file_structure.feature
ftpd-0.2.1 features/ftp_server/file_structure.feature
ftpd-0.2.0 features/ftp_server/file_structure.feature
ftpd-0.1.1 features/ftp_server/file_structure.feature
ftpd-0.1.0 features/ftp_server/file_structure.feature