NEW NEW URL Downloader (All Platforms!)
#8
This is cool, and it's nice to see lower CPU usage while downloading with this vs using a browser. On line 86 though I had to replace Round with Int for accurate download rate (was displaying only 60 MBps instead of 112 MBps).

For even greater accuracy, you can Dim x as Double, remove Round, if x = 1 becomes if x >= 1, and replace Timer with Timer(.001).

Also for some weird reason, every 2 GB interval, LOF(outfile) returns a negative number, but using a mathematical equations fixes it... kinda a weird QB64 issue.

So to fix that for example, line 53 becomes Select Case LOF(outfile) + 0
doesn't make sense to me, but it works.
Reply


Messages In This Thread
RE: NEW NEW URL Downloader (All Platforms!) - by loopy750 - 06-24-2023, 08:41 PM



Users browsing this thread: 2 Guest(s)