It sounds like you’re looking for a way to download a file named treefilesize or a tool related to tree (display directory structures) and file sizes.
sudo apt install tree
Since “treefilesize download” isn’t a standard program name, here are the most likely interpretations and solutions: On most Linux/macOS systems, tree is available via package manager: treefilesize download
Invoke-WebRequest -Uri "<URL>" -OutFile "treefilesize" Example using tree with sizes (Linux/macOS): It sounds like you’re looking for a way
wget <URL> # or curl -O <URL>