access shared network folders (UNC paths)?

BlitzMax Forums/BlitzMax Programming/access shared network folders (UNC paths)?

Space Fractal(Posted 2007) [#1]
this simple code did not find the path:

sharedFolder$="\\spacefractal-1\files\"
Print FileType(folder$)


So does blitzmax support network paths at all?


Space Fractal(Posted 2007) [#2]
look like it a bug somewhere in blitzmax?

it does not work when checking a path directly (like a drive letter).

but if you checking a subfolder under the serverpath, it does work as it should.

[EDIT]
this is the code to overcome the filetype bug:

Function checkNetworkpath:Int(path$)
	If path$="" Then Return False
	dir=ReadDir(path$)
	If Not dir Return False
	Return True
EndFunction


Please move it to blitzmax bug section.