Page 1 of 1

trunk1106 wget woes

PostPosted: 26.02.2020, 06:22
by boco
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

Re: trunk1106 wget woes

PostPosted: 26.02.2020, 11:57
by hbuhrmester
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.

Re: trunk1106 wget woes

PostPosted: 26.02.2020, 14:18
by boco
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.

Re: trunk1106 wget woes

PostPosted: 26.02.2020, 16:15
by Gerby
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

Re: trunk1106 wget woes

PostPosted: 27.02.2020, 02:40
by boco
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.

Re: trunk1106 wget woes

PostPosted: 02.03.2020, 19:01
by harry
Fixed with trunk 1107!