by Pablo Hoch (3 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (11 Votes)
this is a simple download-manager which demonstrates how to download a file with 4 streams. the file will be divied into 4 parts and they will be downloaded at the same time. this is just a very simple application, if the server does not support resume it crashes :) but you can also learn how to get the remaining time and the transfer rate... btw it's german :)
Inputs
well... the url, the path for the destination-file, a user-agent (browser) and a cookie :-)
Assumes
this code uses my melpro.bas, a module with many functions and subs. only a few are really used in crepis ;) if you need a little translation..:
Neuer Download-Auftrag = New Download-Task
Speichern nach = Save to
Erweiterte Header-Optionen = Advanced Header-Options
Download starten = Start Download
Download wird ausgeführt = downloading...
Geschwindigkeit = Speed/Transferrate
Dateigröße = Filesize
von = of
Verbleibende Zeit = Remaining time
Fortsetzen unterstützt = Resume support
Empfange datei... = Receiving file
Download anhalten = Pause/Stop download
Code Returns
the file? :)
Side Effects
this is not a finished downloadmanager, if a server does not support resume it won't work :)