Why are you using Server.Mappath when you have the full path anyway? If you pass "C:\test, test.txt" to server.mappath, it probably will cause an error. What you put inside mappath is the virtual file path: Server.Mappath("/directory
And this will be converted into something like: "C:\InetPub\WWWroot\Server
Main Topics
Browse All Topics





by: IxeusPosted on 2001-08-30 at 01:37:12ID: 6439680
Server.MapPath(Server.html encode("c: \test, test.txt"))
~Ixeus
(think this will work?)