You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ftp.rb
    path of file: ./repos/metasploit-framework/lib/metasploit/framework/login_scanner
    
    the code of the file until where you have to start completion: require 'metasploit/framework/ftp/client'
require 'metasploit/framework
    
        def set_sane_defaults
          self.connection_timeout ||= 30
          self.port               ||= DEFAULT_PORT
          self.max_send_size      ||= 0
          self.send_delay         ||= 0
          self.ftp_timeout        ||= 16
        end