steelbrain / steelbrain/node-ssh

wget is not working properly

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

Issue

Command: wget -O ~/file <url>

Expected:
du -h ~/file
4.0K ~/file

Actual:
du -h ~/file
0 ~/file

Tried Workarounds

  1. Created a wrapper script dl_file.sh and run it instead of directly run wget -- NO AVAIL
  2. Add --no-proxy '*' -- NO AVAIL

Notes

  1. wget is working properly directly on the terminal, but not here in node-ssh

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing wget -O ~/file <url> through node-ssh and compare it with the same command in a terminal, including the dl_file.sh wrapper and --no-proxy '*' workaround. The payload names no repository files or tests; done should mean the node-ssh invocation creates a non-empty ~/file like the terminal invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, shell, typescript
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.