# File lib/cloudfiles/container.rb, line 16
    def initialize(connection, name)
      @connection = connection
      @name = name
      @storagehost = self.connection.storagehost
      @storagepath = self.connection.storagepath + "/" + CloudFiles.escape(@name)
      @storageport = self.connection.storageport
      @storagescheme = self.connection.storagescheme
      if self.connection.cdn_available?
        @cdnmgmthost = self.connection.cdnmgmthost
        @cdnmgmtpath = self.connection.cdnmgmtpath + "/" + CloudFiles.escape(@name) if self.connection.cdnmgmtpath
        @cdnmgmtport = self.connection.cdnmgmtport
        @cdnmgmtscheme = self.connection.cdnmgmtscheme
      end
      # Load the metadata now, so we'll get a CloudFiles::Exception::NoSuchContainer exception should the container
      # not exist.
      self.container_metadata
    end