Page 1 of 1

dwnl

Posted: Wed Jan 03, 2018 11:52 am
by oldman
Does anyone know if dwnl is a built-in command of the ReactOS command interpreter?

I have seen it in a script for ReactOS; it appears to do a down load from an URL.

I have not got ReactOS installed on a computer, so cannot find out from the OS.

Re: dwnl

Posted: Wed Jan 03, 2018 1:17 pm
by hbelusca
"dwnl" is an external program, not built in the cmd.exe interpreter.
Source code is in https://github.com/reactos/reactos/tree ... twork/dwnl ; on an installed ReactOS system it goes into the systemroot's "system32" directory.

Re: dwnl

Posted: Wed Jan 03, 2018 3:01 pm
by oldman
Thanks for the reply.

So it is availlable to be called from a script! Then that is OK.

Re: dwnl

Posted: Thu Jan 04, 2018 8:15 pm
by oldman
dwnl seems to be just a basic down loader. From doing some testing, I find that it cannot handle https, only http.

If it should handle https URLs, then this is what I get for http then https.

dwnl running from the commandline in Windows XP pro sp3

Code: Select all

C:\ReactOS_Development\Required_Software>dwnl http://www.7-zip.org/a/7z1604.exe
7zip.exe
Download `http://www.7-zip.org/a/7z1604.exe'
        => `7zip.exe'
Resolving www.7-zip.org... done.
Connecting to www.7-zip.org[178.62.49.34]... done.
Sending request... done.
Length: 1110564 [application/x-msdownload]

File saved.

C:\ReactOS_Development\Required_Software>dwnl https://winampplugins.co.uk/curl/c
url_7_53_1_openssl_nghttp2_x86.7z curl.7z
Download `https://winampplugins.co.uk/curl/curl_7_53_1_openssl_nghttp2_x86.7z'
        => `curl.7z'
Resolving winampplugins.co.uk... done.
Connecting to winampplugins.co.uk[104.24.110.88]... done.

ERROR: Download failed.