trunk1106 wget woes

trunk1106 wget woes

Postby boco » 26.02.2020, 06:22

Download of MKISOFS fails in latest version. I had to make a change in DownloadUpdates.cmd line 529:

Old line (doesn't work):
%DLDR_PATH% %DLDR_COPT% %DLDR_IOPT% --no-check-certificate ..\static\StaticDownloadLink-mkisofs.txt %DLDR_POPT% ..\bin


New line (seems to work normally):
%DLDR_PATH% %DLDR_COPT% %DLDR_IOPT% --no-check-certificate --input-file=..\static\StaticDownloadLink-mkisofs.txt %DLDR_POPT% ..\bin
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: trunk1106 wget woes

Postby hbuhrmester » 26.02.2020, 11:57

The parameters
Code: Select all
%DLDR_IOPT% ..\static\StaticDownloadLink-mkisofs.txt

should stay together, because the Variable DLDR_IOPT already contains the option for the input file.

The option "--no-check-certificate" should be in a variable, because it is specific for wget. The corresponding option for aria2 would be "--check-certificate=false".

Code: Select all
hb@debian:~/Downloads$ aria2c --no-check-certificate http://download.wsusoffline.net/mkisofs.exe
aria2c: Unbekannte Option »--no-check-certificate«
Aufruf: aria2c [OPTIONEN] [ADRESSE | MAGNET | TORRENT_DATEI | METALINK_DATEI] …
Siehe »aria2c -h«.

Meinen Sie:
   --check-certificate

hb@debian:~/Downloads$ aria2c --check-certificate=false http://download.wsusoffline.net/mkisofs.exe

02/26 11:39:20 [NOTICE] Downloading 1 item(s)

02/26 11:39:20 [NOTICE] CUID#7 - Redirecting to https://download.wsusoffline.net/mkisofs.exe

02/26 11:39:21 [NOTICE] Übertragung vollständig: /home/hb/Downloads/mkisofs.exe

Übertragungsergebnisse:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
11f774|OK  |   1.5MiB/s|/home/hb/Downloads/mkisofs.exe

Statuserläuterung:
(OK):Herunterladen vollständig.


However, on Linux I don't see any difference with or without these options.
hbuhrmester
 
Posts: 525
Joined: 11.10.2013, 20:59

Re: trunk1106 wget woes

Postby boco » 26.02.2020, 14:18

Changed it to

Code: Select all
%DLDR_PATH% %DLDR_COPT% --no-check-certificate %DLDR_IOPT% ..\static\StaticDownloadLink-mkisofs.txt %DLDR_POPT% ..\bin


in the end.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: trunk1106 wget woes

Postby Gerby » 26.02.2020, 16:15

There are actually several other lines in the current DownloadUpdates.cmd (trunk 1106) containing "--no-check-certificate" at the wrong place.

For now, I've created a new DLDR_NCOPT variable. Then I've substituted and moved all occurrences of "--no-check-certificate".

Greetz
Gerby
Mach mit - der Übersichtlichkeit wegen! Füge Log-Auszüge als [Code] ein.
Make it clear! Insert log excerpts as [Code].
Gerby
 
Posts: 504
Joined: 11.09.2009, 15:57
Location: DE > SH > SE

Re: trunk1106 wget woes

Postby boco » 27.02.2020, 02:40

It crashes only with %DLDR_IOPT% --no-certificate. The new option separated the -i and the inpnut file. Thus, wget mistook the text file for a URL. It works with a direct URL following.

The mentioned combo only exists at line 529.
Microsoft update catalog: http://catalog.update.microsoft.com/v7/site/
Windows Install media download: https://support.microsoft.com/en-us/help/15088/windows-create-installation-media
boco
 
Posts: 2391
Joined: 24.11.2009, 17:00
Location: Germany

Re: trunk1106 wget woes

Postby harry » 02.03.2020, 19:01

Fixed with trunk 1107!
harry
 
Posts: 737
Joined: 29.10.2009, 17:02


Return to Download

Who is online

Users browsing this forum: No registered users and 40 guests