get data from url, download file and resume