Updated DownloadSync method

issue #824