Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.WebUI\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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <%= Import.Script("/jquery-1.44.min.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