support curl/wget, and check for redownload