public void UPLOADFILED() { Date dt = new Date(System.currentTimeMillis()); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS"); String fileName = sdf.format(dt); int index = getUploadFileName().lastIndexOf("."); //得到文件扩展名
public static long GetDirectorySize(string path) { long res = 0; System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; //是否使用操作系统shell启动 p.StartInfo.RedirectSta
推荐这个博客:http://blog.csdn.net/hi_kevin/article/details/23430345 这个文章很不错,我推荐这个文章:http://leeon.me/upload/other/swfupload.html#globals var swfu; window.onload = function () { var settings = { flash_url: "/plugins/swfupload/core/Flash/swfupload.swf",