Hi all, How can i remove the uploaded file in IIS server through the web script(C# , asp.net). Can anyone give any function for that? thanks
Use FSO or System.IO to do all your file handling/management or teh File Scope using System.IO; File.Delete("C:\\MyFiles\\SomeFile.xml");
Or File.Delete (Server.MapPath(YourVirtualPath)); if you are working with virtual directories in your web page
AHH - he did say C#/ASP.NET - sorry, yah, you an import the System.IO scope and use File.Delete method from that scope. Don't use FSO if you are not using Classic ASP