def create_folder(path, options={})
      path = path.sub(/^\//, '')
      path.sub! /\/$/, ''
      begin
        parse_metadata(post('fileops', 'create_folder', :path => Dropbox.check_path(path), :root => root(options), :ssl => @ssl)).to_struct_recursively
      rescue UnsuccessfulResponseError => error
        raise FileExistsError.new(path) if error.response.kind_of?(Net::HTTPForbidden)
        raise error
      end
    end
def create_folder(path, options={})
      path = path.sub(/^\//, '')
      path.sub! /\/$/, ''
      begin
        parse_metadata(post('fileops', 'create_folder', :path => Dropbox.check_path(path), :root => root(options), :ssl => @ssl)).to_struct_recursively
      rescue UnsuccessfulResponseError => error
        raise FileExistsError.new(path) if error.response.kind_of?(Net::HTTPForbidden)
        raise error
      end
    end
Creates a folder at the given path. The path is assumed to be relative to
 the configured mode's root. Returns a +Struct+ with metadata about the new
 folder. (See the metadata method.)

 Raises FileExistsError if there is already a file or folder at +path+.

 Options:

 +mode+:: Temporarily changes the API mode. See the MODES array.

 TODO The API documentation says this method returns 403 if the path already exists, but it actually appends " (1)" to the end of the name and returns 200.