home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>AdvFile Component</title>
- </head>
- <body>
- <%
- dim File
- set File = Server.CreateObject("AdvFile.File")
- File.Attributes = Request.Form("Attributes")
- File.Rename Request.Form("Source"), Request.Form("Destination")
- if (File.IsError = 1) then
- Response.Write File.ErrorReason & "<br>"
- else
- Response.Write "Successfully renamed" & "<br>"
- end if
- set File = Nothing
- %>
- <a href="dsp_rename.htm">Back</a>
- </body>
- </html>
-