How to make a fileupload interface in ASP.NET

后端 未结 3 1478
被撕碎了的回忆
被撕碎了的回忆 2021-01-14 06:58

I am trying to make a file upload interface in ASP.NET webforms and am looking for some advice on how to proceed.

The file upload interface is part of a website I am

3条回答
  •  广开言路
    2021-01-14 07:35

    File upload is always annoying. I recently found a great component that does what I belive all upload componentes should do.

    See at: http://aquantum-demo.appspot.com/file-upload

    And a sample in C# at: https://github.com/BoSchatzberg/jfu-CSharp-Example

    And, you should store your files in a temporary folder before creating the database row. To avoid a mess of files left useless, you can use a windows temporary folder to delagate to the windows when delete or not those files.

    System.IO.Path.GetTempPath()
    

提交回复
热议问题