download directly to target directory