Getting Bytes Loaded

BlitzMax Forums/BlitzMax Beginners Area/Getting Bytes Loaded

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I have a code posted before and im using it to load an image from a site. heres the code.

Graphics 400, 300, 0

DrawText "Getting Image...", 140, 144
Flip 

img:TImage = LoadImage(LoadBank("http::homepage.ntlworld.com/rashida.moussa/loader.bg"))
If Not img Then RuntimeError "Unable to download image"

Graphics img.width, img.height, 0 
'Graphics 1024,768

DrawImage img, 0, 0
Flip

WaitKey()

End


How would i find its filesize and how much is currently loaded?
Also how would I download a file from the web and display a progress bar too.