Hi
I am writing a fairly basic patcher application for my friend whom is currently hosting a game server.
Now to download a file i have used My.Computer.Network.DownloadFile
This works for the first file but then crashes when it goes to download a second file leavign me with the world most inexplicable exception message: "Illegal characters in path."
Here is the line it occurs on:
My.Computer.Network.DownloadFile(server & patch_files(patched_files), "C:\Users\AJ\Desktop\Temp\" & patch_files(patched_files))
server = "http://AJferlok.fileave.com/"
patched files is an integer (The files are read from a file and inputed into an array)
patch_files() us the array of files that need to be downloaded
Is their any particular reason for this?
I am writing a fairly basic patcher application for my friend whom is currently hosting a game server.
Now to download a file i have used My.Computer.Network.DownloadFile
This works for the first file but then crashes when it goes to download a second file leavign me with the world most inexplicable exception message: "Illegal characters in path."
Here is the line it occurs on:
My.Computer.Network.DownloadFile(server & patch_files(patched_files), "C:\Users\AJ\Desktop\Temp\" & patch_files(patched_files))
server = "http://AJferlok.fileave.com/"
patched files is an integer (The files are read from a file and inputed into an array)
patch_files() us the array of files that need to be downloaded
Is their any particular reason for this?
Last edited: