Skip to content

lzl1918/WebFileTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebFileTransfer

File listing and downloading service hosted in the web

Capabilities

  • List contents
  • Download files
  • Upload files
  • Make new directory

Architecture

asp.net core webapi

Platform support

click to check the platform supported by .net core

How to use

  1. Configure the content root path

    Edit ContentRoot option in file appsettings.json

  2. Configure the listening url and port

    Program.cs

    var host = new WebHostBuilder()
               // ...
               .UseUrls("http://*:5000")
               //...
  3. Start dotnet core

    dotnet run

For dev

  • There is only one Controller.
  • FE communicates with BE by ajax
  • jquery.fileDownload is included to download files through POST method

Improvement remained

  • Security
  • More file icons
  • Display the requests in console window

About

Web端文件查看以及下载服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published