download directly using data->downloadurl and data->downloadmd5