πŸ“‘ Download function flow

by lighfu

Version 2 (May 29, 2021)

Download (56 downloads)

Flowchart to help download files.
Multithreading is also possible.

⭐for Premium users

・ Display of progress
・ Speed ​​(MB/s)
・ ETA (sec)
・ Multithread

Flowchart Block
https://i.gyazo.com/d4995d82e363db8e9dbd8aa1af9e852b.png

- Memo

# Multithread
Multithreaded downloads may fail depending on the server or network conditions that do not implicitly allow multithreading.

# Concat
Since the concatenation process depends on the shell, the concatenation may fail depending on the terminal.

# Flowchart
This flow is a file downloader used in subroutines.
Copy and paste the download process to use it.

# Parallel variables
Since the fiber is isolated in the download processing part, it is safe to cover the variables of this flow.

# DlConfig json


url: http(s) Link
named: Filename
output.path: Download destination path

progress: 0=hide / 1=show


thread:
Number of split simultaneous downloads.
1 = Single Thread
0 = Error

overwrite:
0 = Display overwrite dialog
1 = Allow overwrite

[hidden]
size:
You can predefine the expected size. This is a workaround for viewing progress, but it is deprecated.