Network files

Blitz3D Forums/Blitz3D Beginners Area/Network files

pc_tek(Posted 2009) [#1]
Can you reference network resources using the UNC method in Blitz3d?

etc...'\\server\share\file'


_PJ_(Posted 2009) [#2]
In theory it should be okay, sicne any valid windows-recgonised path seems to work, such as in the case of system environment vaariables

i.e.
%PROGRAMFILES%\

Maybe good to just give a test using FileType() command and see if it finds a network file.


IcyDefiance(Posted 2009) [#3]
I've tried, and no. Unless there's some trick to doing it that I don't know about...or I'm misunderstanding your question.

However, you can open network streams and whatever. I just use the Download file bit of code, download the file onto the computer, and use it from there. I'm doing that in the game I'm working on because it'll be multiplayer over the internet and it needs the connection. Maybe you could use just part of that code, or maybe you could find some other chunk of code for what you want in that section of the code archives: http://blitzbasic.com/codearcs/codearcs.php?cat=4&order=&asc=&lang_id=1


pc_tek(Posted 2009) [#4]
@Malice - thanks dude, yes it works!