├── .gitignore ├── LICENSE ├── README.md ├── images ├── json_response.png ├── main.png ├── main_dark.png ├── web.png ├── web_dark.png ├── web_upload.png └── web_upload_dark.png └── src ├── HttpFileServer.sln └── HttpFileServer ├── App.xaml ├── App.xaml.cs ├── Controls ├── PathSelector.xaml └── PathSelector.xaml.cs ├── Converters └── BoolReverseConverter.cs ├── Core ├── Config.cs ├── DirInfoResponse.cs ├── DirPathInfo.cs ├── FilePathInfo.cs ├── IFileServer.cs ├── PathInfo.cs └── ServerStatus.cs ├── Handlers ├── FileInfoApiHandler.cs ├── HttpGetHandler.cs ├── HttpHandlerBase.cs ├── HttpHeadHandler.cs ├── HttpPostFileHandler.cs ├── HttpPostHandler.cs └── IHttpHandler.cs ├── HttpFileServer.csproj ├── HttpFileServer.csproj.user ├── HttpFileServer.csproj.vspscc ├── Infrastructure ├── BindableBase.cs ├── CommandImpl.cs ├── CommandImpl{T}.cs ├── DelegateCommand.cs ├── DelegateCommandBase.cs ├── DelegateCommand{T}.cs └── ViewModelBase.cs ├── Models └── RequestModel.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs ├── Resources.resx └── app.manifest ├── Resources ├── DllResource.Designer.cs ├── DllResource.resx ├── HtmlResource.Designer.cs ├── HtmlResource.resx ├── HtmlTemplate.html ├── ICSharpCode.SharpZipLib.dll ├── Newtonsoft.Json.dll ├── TableRowDirTemplate.html ├── TableRowFileTemplate.html ├── UploadSection.html └── tailwindcss.3.4.17.js ├── Servers ├── DefaultFileServer.cs └── HttpFileServerBase.cs ├── Services ├── CacheService.cs ├── ConfigService.cs ├── FileAccessHelper.cs ├── JsonService.cs └── LocalFileService.cs ├── Utils ├── AutoStartHelper.cs ├── FirewallHelper.cs ├── HtmlExtension.cs ├── IPHelper.cs ├── PathInfoExtension.cs └── SizeHelper.cs ├── ViewModels └── ShellViewModel.cs ├── Views ├── ShellView.xaml └── ShellView.xaml.cs ├── Web ├── HttpInputStream.cs ├── HttpListenerRequestExtensions.cs ├── HttpPostedFile.cs └── MultipartContentParser.cs └── packages.config /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/README.md -------------------------------------------------------------------------------- /images/json_response.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/json_response.png -------------------------------------------------------------------------------- /images/main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/main.png -------------------------------------------------------------------------------- /images/main_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/main_dark.png -------------------------------------------------------------------------------- /images/web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/web.png -------------------------------------------------------------------------------- /images/web_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/web_dark.png -------------------------------------------------------------------------------- /images/web_upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/web_upload.png -------------------------------------------------------------------------------- /images/web_upload_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/images/web_upload_dark.png -------------------------------------------------------------------------------- /src/HttpFileServer.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer.sln -------------------------------------------------------------------------------- /src/HttpFileServer/App.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/App.xaml -------------------------------------------------------------------------------- /src/HttpFileServer/App.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/App.xaml.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Controls/PathSelector.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Controls/PathSelector.xaml -------------------------------------------------------------------------------- /src/HttpFileServer/Controls/PathSelector.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Controls/PathSelector.xaml.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Converters/BoolReverseConverter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Converters/BoolReverseConverter.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/Config.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/Config.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/DirInfoResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/DirInfoResponse.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/DirPathInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/DirPathInfo.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/FilePathInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/FilePathInfo.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/IFileServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/IFileServer.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/PathInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/PathInfo.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Core/ServerStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Core/ServerStatus.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/FileInfoApiHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/FileInfoApiHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/HttpGetHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/HttpGetHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/HttpHandlerBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/HttpHandlerBase.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/HttpHeadHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/HttpHeadHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/HttpPostFileHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/HttpPostFileHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/HttpPostHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/HttpPostHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Handlers/IHttpHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Handlers/IHttpHandler.cs -------------------------------------------------------------------------------- /src/HttpFileServer/HttpFileServer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/HttpFileServer.csproj -------------------------------------------------------------------------------- /src/HttpFileServer/HttpFileServer.csproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/HttpFileServer.csproj.user -------------------------------------------------------------------------------- /src/HttpFileServer/HttpFileServer.csproj.vspscc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/HttpFileServer.csproj.vspscc -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/BindableBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/BindableBase.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/CommandImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/CommandImpl.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/CommandImpl{T}.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/CommandImpl{T}.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/DelegateCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/DelegateCommand.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/DelegateCommandBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/DelegateCommandBase.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/DelegateCommand{T}.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/DelegateCommand{T}.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Infrastructure/ViewModelBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Infrastructure/ViewModelBase.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Models/RequestModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Models/RequestModel.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Properties/Resources.Designer.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Properties/Resources.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Properties/Resources.resx -------------------------------------------------------------------------------- /src/HttpFileServer/Properties/app.manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Properties/app.manifest -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/DllResource.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/DllResource.Designer.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/DllResource.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/DllResource.resx -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/HtmlResource.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/HtmlResource.Designer.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/HtmlResource.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/HtmlResource.resx -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/HtmlTemplate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/HtmlTemplate.html -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/ICSharpCode.SharpZipLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/ICSharpCode.SharpZipLib.dll -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/TableRowDirTemplate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/TableRowDirTemplate.html -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/TableRowFileTemplate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/TableRowFileTemplate.html -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/UploadSection.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/UploadSection.html -------------------------------------------------------------------------------- /src/HttpFileServer/Resources/tailwindcss.3.4.17.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Resources/tailwindcss.3.4.17.js -------------------------------------------------------------------------------- /src/HttpFileServer/Servers/DefaultFileServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Servers/DefaultFileServer.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Servers/HttpFileServerBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Servers/HttpFileServerBase.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Services/CacheService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Services/CacheService.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Services/ConfigService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Services/ConfigService.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Services/FileAccessHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Services/FileAccessHelper.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Services/JsonService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Services/JsonService.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Services/LocalFileService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Services/LocalFileService.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/AutoStartHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/AutoStartHelper.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/FirewallHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/FirewallHelper.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/HtmlExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/HtmlExtension.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/IPHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/IPHelper.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/PathInfoExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/PathInfoExtension.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Utils/SizeHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Utils/SizeHelper.cs -------------------------------------------------------------------------------- /src/HttpFileServer/ViewModels/ShellViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/ViewModels/ShellViewModel.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Views/ShellView.xaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Views/ShellView.xaml -------------------------------------------------------------------------------- /src/HttpFileServer/Views/ShellView.xaml.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Views/ShellView.xaml.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Web/HttpInputStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Web/HttpInputStream.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Web/HttpListenerRequestExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Web/HttpListenerRequestExtensions.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Web/HttpPostedFile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Web/HttpPostedFile.cs -------------------------------------------------------------------------------- /src/HttpFileServer/Web/MultipartContentParser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/Web/MultipartContentParser.cs -------------------------------------------------------------------------------- /src/HttpFileServer/packages.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scanfing/HttpFileServer/HEAD/src/HttpFileServer/packages.config --------------------------------------------------------------------------------