Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think i found a bug in version 0.85a #111

Open
sparky4 opened this issue Oct 27, 2024 · 3 comments
Open

I think i found a bug in version 0.85a #111

sparky4 opened this issue Oct 27, 2024 · 3 comments

Comments

@sparky4
Copy link

sparky4 commented Oct 27, 2024

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

@sparky4
Copy link
Author

sparky4 commented Oct 27, 2024

the command works standalone
htget http://dos.lod.bz/repos/current/base/format.zip > %temp%\format.zip

@boeckmann
Copy link
Contributor

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?

@boeckmann
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants