def METHOD_NAME(
        self,
        url,
        filename,
        size=0,
        get={},
        post={},
        ref=True,
        cookies=True,
        chunks=1,
        resume=False,
        status_notify=None,
        disposition=False,
):
    """
    this can also download ftp.
    """
    self._size = 0
    self.dl = HTTPDownload(
        url,
        filename,
        size=size,
        get=get,
        post=post,
        referer=self.last_effective_url if ref else None,
        cj=self.cj if cookies else None,
        bucket=self.bucket,
        options=self.options,
        status_notify=status_notify,
        disposition=disposition,
    )
    name = self.dl.download(chunks, resume)
    self._size = self.dl.size
    self.dl = None
    return name