This project is read-only.

Problem reading file with Space Char in the name

Feb 24, 2009 at 10:47 AM
I'm trying to read the contents of a folder containing XML files. If the filename NO contains spaces works well, but if the file has spaces in the name does not work. I tried it with %20 for space, but neither works. What should I do?

My simple code:

                HttpServer.HttpModules.FileModule fileMod = new HttpServer.HttpModules.FileModule("/files",
                fileMod.MimeTypes.Add("xml", "xml");
                server.Start(IPAddress.Any, 56789);
Feb 24, 2009 at 1:22 PM
Can you try with the latest revision from today? I've fixed another issue with spaces.
Feb 24, 2009 at 2:10 PM
Solved in revision 18606. Works with %20 and space character.