Reading file from internet..

Blitz3D Forums/Blitz3D Programming/Reading file from internet..

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.

You can use the file commands on HTTP servers with the BlitzMax stream protocol http:: prefixed to the URL:

EDIT: DOH! BlitzMax code below, sorry!

ServerFile=ReadFile("http::www.darknimbuspro.com/RO.txt") 

If ServerFile = 0 Then End

Repeat

	Print ReadLine (ServerFile)
	
Until Eof (ServerFile)