I think i found a bug in version 0.85a
Opened this issue · 3 comments
https://4ch.mooo.com/4/fdos/fdpget.bat
using my script and this specific line
if not [%3]==[] %getter% http://dos.lod.bz/repos/current/%1/%2.zip > %dest%
getter is set as htget
%1 is base, util, , etc.
%2 is the package name
%dest% is just %temp%%2.zip
it dose not write the output of the file that is downloaded from htget
i do not know what is going on....
it makes the zip file but it is size 0
i tested this on 4dos and it works perfectly
my environment size is 2048
the command works standalone
htget http://dos.lod.bz/repos/current/base/format.zip > %temp%\format.zip
Strange, I tested the following example by minimizing your code:
set getter=echo
set dest=%temp%\%2.txt
set OS_VERSION=xxx
if [%3]==[] %getter% http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/%OS_VERSION%/%1/%2.zip > %dest%
Calling this with test.bat base kernel
writes the URL to the destination file, as it should. So the command is working per se. Sadly I have no working mTCP to test this.
Have you considered using htget -o
command line argument as a workaround?
Addition: I tested this with the FreeCOM master branch. @sparky4 may you re-test with recent FreeCOM build from https://nextcloud.iww.rwth-aachen.de/index.php/s/93ikMxF3fPMcNSY?