2- Assuming your device ip is 192.168.1.7 as shown in previous image.
To list available downloads do the following command.
curl http://192.168.1.7:2999/ls
You will get a response like this.
Name: Alquran_Alkareem.pdf
Size: 199.08 MB
URL:
http://192.168.1.7:2999/dl/4812e5d6-8677-43dc-8739-eeb364a12abd
Name: App Manager
Size: 17.21 MB
URL:
http://192.168.1.7:2999/dl/ed33194e-a619-4ba8-bb88-83e38c2ae586
Notice that the URL of each download has its own line that's so you can double click it to select it easily and copy it.
Note: in some terminals you can click on the link while pressing Ctrl to open it in browser
3- After you have copied the link you have 2 options
- Paste it in browser
- download it using curl or any CLI tool
curl http://192.168.1.7:2999/dl/ed33194e-a619-4ba8-bb88-83e38c2ae586 -o <file-name>
Note: You can download all files in a zip archive using this command
curl http://192.168.1.7:2999/da -o <file-name.zip>