Downloading files from a webserver

BlitzMax Forums/BlitzMax Programming/Downloading files from a webserver

ckob(Posted 2005) [#1]
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.


RifRaf(Posted 2005) [#2]
yes, you know how to contact me if you need to


skn3(Posted 2005) [#3]
nm


ckob(Posted 2005) [#4]
still looking if anyone knows?


Robert(Posted 2005) [#5]
Hi, just use OpenFile:

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

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


Yan(Posted 2005) [#6]
This may be of use too...
HTTP Filesize

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