Class: Ftpd::CmdCdup
- Inherits:
-
CommandHandler
- Object
- CommandHandler
- Ftpd::CmdCdup
- Defined in:
- lib/ftpd/cmd_cdup.rb
Constant Summary
Constants inherited from CommandHandler
Ftpd::CommandHandler::COMMAND_FILENAME_PREFIX, Ftpd::CommandHandler::COMMAND_KLASS_PREFIX, Ftpd::CommandHandler::COMMAND_METHOD_PREFIX
Instance Method Summary collapse
- #cmd_cdup(argument) ⇒ Object (also: #cmd_xcup)
Methods inherited from CommandHandler
Methods included from FileSystemHelper
#ensure_accessible, #ensure_directory, #ensure_does_not_exist, #ensure_exists, #ensure_file_system_supports, #path_list, #unique_path
Methods included from Error
#error, #sequence_error, #syntax_error, #unimplemented_error
Methods included from DataConnectionHelper
#close_data_server_socket_when_done, #data_connection_description, #encrypt_data?, #handle_data_disconnect, #make_tls_connection, #open_active_data_connection, #open_active_tls_data_connection, #open_data_connection, #open_passive_data_connection, #open_passive_tls_data_connection, #receive_file, #send_start_of_data_connection_reply, #transmit_file
Constructor Details
This class inherits a constructor from Ftpd::CommandHandler
Instance Method Details
#cmd_cdup(argument) ⇒ Object Also known as: cmd_xcup
9 10 11 12 13 |
# File 'lib/ftpd/cmd_cdup.rb', line 9 def cmd_cdup(argument) syntax_error if argument ensure_logged_in execute_command 'cwd', '..' end |