Can you clarify this?
You want to write client code that writes a file to a server on your network? If so, you are going to encounter significant difficulties. Client browser code isn't designed to do these kinds of things. You could create an activeX control that does this. However, that's outside the scope of ASP.NET so you might need to find another forum category for questions regarding that.