'Upload an object currently located on a disk.
:param file_path: Path to the object on disk.
:type file_path: ``str``
:param container: Destination container.
:type container: :class:`Container`
:param object_name: Object name.
:type object_name: ``str``
:param verify_hash: Verify hast
:type verify_hash: ``bool``
:param extra: (optional) Extra attributes (driver specific).
:type extra: ``dict``
:rtype: ``object``'

def upload_object(self, file_path, container, object_name, extra=None, verify_hash=True):

    path = self.get_container_cdn_url(container, check=True)
    obj_path = os.path.join(path, object_name)
    base_path = os.path.dirname(obj_path)
    self._make_path(base_path)
    with LockLocalStorage(obj_path):
        shutil.copy(file_path, obj_path)
    os.chmod(obj_path, int('664', 8))
    return self._make_object(container, object_name)
