For the web server with self signed certificate or could not pass the ssl certificate validation, you cannot use a single bitsadmin /transfer command and the job has to be run asynchronously. You have to bitsadmin /create a job and bitsadmin /SetSecurityFlags to value 30
bitsadmin /create MyJob1
bitsadmin /addfile MyJob1 "https://your-site.org/file.zip" "C:\test\file.zip"
bitsadmin /SetSecurityFlags MyJob1 30
bitsadmin /SetPriority MyJob1 FOREGROUND
bitsadmin /resume MyJob1
bitsadmin /monitor || bitsadmin /cancel MyJob1
No comments:
Post a Comment