lib/xftp/client.rb
def call(url, settings, &block)
      uri = URI.parse(url)
      klass = adapter_class(uri.scheme)
      session = klass.new(uri, settings.deep_dup)
      session.start(&block)
    end
def call(url, settings, &block)
      uri = URI.parse(url)
      klass = adapter_class(uri.scheme)
      session = klass.new(uri, settings.deep_dup)
      session.start(&block)
    end
def call ( url , settings , & block ) uri = URI . parse ( url ) klass = adapter_class ( uri . scheme ) session = klass . new ( uri , settings . deep_dup ) session . start ( block ) end
Initiates a new session
 @see XFTP::Validator::Settings
Initiates a new session