• 大小: 0.78M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 上传  文件  asp.net  下载  asp  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Web;
using System.IO;

namespace WebApplication1
{
    /// 
    /// uploadFiles 的摘要说明
    /// 

    public class uploadFiles : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = “text/plain“;
            context.Response.Write(“Hello World“);
            UploadFile(context);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
        public void UploadFile(HttpContext context)
        {
            context.Response.CacheControl = “no-cache“;
            string s_rpath = FileHelper.GetUploadPath();//@“E:\My Documents\Visual 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     393216  2012-08-07 14:03  WebApplication1_vs2010\WebApplication1\bin\Newtonsoft.Json.dll

     文件       7680  2013-04-13 15:17  WebApplication1_vs2010\WebApplication1\bin\WebApplication1.dll

     文件      24064  2013-04-13 15:17  WebApplication1_vs2010\WebApplication1\bin\WebApplication1.pdb

     文件        205  2012-12-17 02:14  WebApplication1_vs2010\WebApplication1\images\arrow_down.png

     文件        227  2012-12-17 02:14  WebApplication1_vs2010\WebApplication1\images\arrow_right.png

     文件      16857  2013-04-13 15:17  WebApplication1_vs2010\WebApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       8750  2013-01-30 20:55  WebApplication1_vs2010\WebApplication1\obj\Debug\ResolveAssemblyReference.cache

     文件       1865  2013-04-13 15:14  WebApplication1_vs2010\WebApplication1\obj\Debug\WebApplication1.csproj.FileListAbsolute.txt

     文件       7680  2013-04-13 15:17  WebApplication1_vs2010\WebApplication1\obj\Debug\WebApplication1.dll

     文件      24064  2013-04-13 15:17  WebApplication1_vs2010\WebApplication1\obj\Debug\WebApplication1.pdb

     文件        505  2012-08-07 14:05  WebApplication1_vs2010\WebApplication1\packages.config

     文件       1361  2011-10-08 15:45  WebApplication1_vs2010\WebApplication1\Properties\AssemblyInfo.cs

     文件        588  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\cs.js

     文件        423  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\da.js

     文件       1071  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\de.js

     文件        792  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\el.js

     文件       1078  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\es.js

     文件       1683  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\et.js

     文件       2126  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\fa.js

     文件       1635  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\fi.js

     文件       1876  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\fr-ca.js

     文件       1108  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\fr.js

     文件       1044  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\hr.js

     文件       1738  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\hu.js

     文件        996  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\it.js

     文件       2042  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\ja.js

     文件       1795  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\ko.js

     文件       1849  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\lv.js

     文件        858  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\nl.js

     文件        926  2013-01-24 11:53  WebApplication1_vs2010\WebApplication1\scripts\i18n\pl.js

............此处省略82个文件信息

评论

共有 条评论