modified by vim from ota-update-centre for downloading ota file on cache