Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Tools\SilverlightMultiFileUploader\Rename.aspx
??<%@ Page Language="C#" AutoEventWireup="true" %> <% string valueControl = Request.QueryString["ValueControl"]; string fileName = Request.QueryString["FileName"]; string receivePath = Request.QueryString["ReceivePath"]; string guid = Request.QueryString["Guid"]; string path = Server.MapPath("~/Upload/"); string filePath = path + "DHtmlxVault\\" + guid + fileName; string receiveFileName = null; if (System.IO.File.Exists(filePath)) { //???????????????????????? if (!System.IO.Directory.Exists(path + receivePath + "\\")) { System.IO.Directory.CreateDirectory(path + receivePath + "\\"); } var file = new System.IO.FileInfo(filePath); receiveFileName = DateTime.Now.ToString("yyyyMMddHHmmss") + fileName; System.IO.File.Move(filePath, path + receivePath + "\\" + receiveFileName); } %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title></title> <%= Import.Script("/jquery.1.9.js")%> </head> <body> <script type="text/javascript"> $(window.parent.window.document).find("<%= valueControl %>").val("<%= receiveFileName %>"); window.parent.window.$.fn.fancybox.close(); </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de