Ok hi all.
I'm still working on that launcher/patcher, and I need a bit of heads up in a few formatting things.
So the question is: between web and local paths... Does using '/' or '\\' matter?
Now a bit of explanation.
In my resource file, I have a bunch of lines with this kind of formatting:
the engine loads up both the server resource file and the one that is local to separate dictionaries.Code:relative path to the file|version of the file
Then engine then compares the 2, deletes all local files that are not mentioned in the server, then downloads every file from the server that has a larger version.
Notice that both paths are in this form:
so now I have to decide exactly how to save the path in the file.Code:string(prefix) + file_path_from_resource_tracker_file.
It can either beorCode:"\\path\\to\\file"(maybe evenCode:"/path/to/file".Code:"\path\to\file"
So my question is which way would work for both a target computer relative path (absolute, prefixed with Directory.GetCurrentDirectory()) (C:\\ etc) AND an FTP server.