Hello!
Im making a software for our Counter-Strike Source server.
I'd like to get all map files (.bsp files) from the map folder using the servers ftp adress.
I tried using this code:
VB Code:
Dim folder As New IO.DirectoryInfo(ftpAdress & "/srcds_l/cstrike/maps/") Dim files As IO.FileInfo() = folder.GetFiles("*.bsp")
But it gives me the error "The given path's format is not supported."
So what should I do? Any suggestions?
Thanks in advance.




Reply With Quote