Downloading files from a webserver

BlitzMax Forums/BlitzMax Programming/Downloading files from a webserver

I have tried everything and cant figure out how the heck to download a file from a webserver could anyone shed some light on this for me please.

yes, you know how to contact me if you need to

nm

still looking if anyone knows?

Hi, just use OpenFile:

fileOnTheWeb:TStream=OpenFile("http::<url of file>")

...normal 'Max filereading code here...

This may be of use too...
HTTP Filesize

And don't forget banks...
file:TBank = LoadBank("http::domain.tld/filename")