Loadbank(): Showing progress possible?
BlitzMax Forums/BlitzMax Programming/Loadbank(): Showing progress possible?
| ||
Hi guys! I'm using the following function to download a file from the internet. Is it possible to show the current progress of this process? Thanks Grisu |
| ||
I dont' know how to 'hack' LoadBank but this is what I use |
| ||
Ok, I'm hacking something... but I have a problem to retrieve the 'correct' position of the stream, or well, the FULL SIZE of the object to download. This is your example with a 'real' file. Below there are some changes, but not fully* working at the moment This is in bank.bmx This is in STREAM.bmx |
| ||
Thanks for your help degac. I don't mess around with bmx core functions. Have tried to create a single superstrict example of your code. But get a strange error message... :( [EDIT] deleted source code |
| ||
You missed a CreateBank But still remains the problem about the file size... |
| ||
This one uses a workaround function, perhaps someone finds a simpler solution? [EDIT] Streamsize() doesn't apply here.. :( |