1.Create download_dir column for DM. 2.Write db table when finining download.