Thaks for the reply Unfortunately, none of these 2 approaches would work: The first one requires the webservice to send the root as aparameter The second one requieres that i know the final path, if i have a shared hosting, what would happen if the physical root is moved?? My app would stop working, thats why i cant use a fixed path, and should not send the root a s a parameter from the webservice calling the class, because of ntier separation, you know all that stuff about ntier development The only solution is using the server.mappath("") I could access this by adding a reference to system.net to the class library and then get the root with httpcontext.current.server.mappath("~/Images")
Alexei Rodriguez