feat: 文传易匿名临时文件传输站初始版本

- 后端 .NET 8 + FreeSql + 阿里云 OSS,支持共享/私密/标签三种文件模式
- 前端 Vue3 + Vite + TDesign,上传/取件/管理三页
- 取件码/二维码/海报合成(含保存二维码为图片)
- deploy/ 部署文档与一键 FTP 发布脚本
- appsettings.json 含真实凭据,已 gitignore 不入库
This commit is contained in:
2026-08-24 00:03:28 +08:00
commit 1bfc72f9cb
40 changed files with 6849 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# 强制覆盖单个文件 (UTF-8 BOM)
param([string]$LocalPath, [string]$RemotePath)
$FtpHost="116.198.221.125"
$FtpPort=21
$FtpUser="wenchuanyi"
$FtpPass="r7P^f*v7rFts"
$r=[System.Net.FtpWebRequest]::Create("ftp://${FtpHost}:${FtpPort}/"+$RemotePath.TrimStart('/'))
$r.Method=[System.Net.WebRequestMethods+Ftp]::UploadFile
$r.Credentials=New-Object System.Net.NetworkCredential($FtpUser,$FtpPass)
$r.UsePassive=$true
$r.UseBinary=$true
$r.KeepAlive=$false
$r.Timeout=120000
$b=[System.IO.File]::ReadAllBytes($LocalPath)
$r.ContentLength=$b.Length
$s=$r.GetRequestStream()
try{ $s.Write($b,0,$b.Length) }finally{ $s.Close() }
$resp=$r.GetResponse()
try{ $resp.Close() }catch{}
Write-Host "FORCED_UPLOAD_OK $RemotePath"