0x80190195 Status 405 when downloading google calender ics using bitsadmin

0

In a batch script I wrote:

Set src="http://calendar.google.com/calendar/ical/j<MORE>@gmx.net/private-c<MORE>e/basic.ics"
Set dst="D:\Data\ICS\basic.ics"
bitsadmin  /transfer myDownloadJob /download /priority normal %src% %dst%
pause

Instead of <MORE> there is actual information that I want to keep to myself.

Here is a screenshot that shows what happens when I call the batch script.

enter image description here

When I use the same URL in an internet explorer the download starts as expected. It does not matter for this error if there is a file D\Data\ICS\basic.ics

What am I doing wrong? Why is this not downloading the file?

batch
download
asked on Super User Aug 17, 2016 by Johannes

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0