dwnl

Ask your support questions in here

Moderator: Moderator Team

Post Reply
oldman
Posts: 1069
Joined: Sun Dec 20, 2009 1:23 pm

dwnl

Post by oldman » Wed Jan 03, 2018 11:52 am

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.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - with some complementary scripts.
They may help you with a problem, so do have a look at them.

hbelusca
Developer
Posts: 1124
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: dwnl

Post by hbelusca » Wed Jan 03, 2018 1:17 pm

"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.

oldman
Posts: 1069
Joined: Sun Dec 20, 2009 1:23 pm

Re: dwnl

Post by oldman » Wed Jan 03, 2018 3:01 pm

Thanks for the reply.

So it is availlable to be called from a script! Then that is OK.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - with some complementary scripts.
They may help you with a problem, so do have a look at them.

oldman
Posts: 1069
Joined: Sun Dec 20, 2009 1:23 pm

Re: dwnl

Post by oldman » Thu Jan 04, 2018 8:15 pm

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.

Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - with some complementary scripts.
They may help you with a problem, so do have a look at them.

Post Reply

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest