文件共享功能调试成功,支持了文件列表的搜索,可以根据文件名称,备注及上传人来进行检索。

This commit is contained in:
HSL
2017-04-07 09:08:48 +08:00
parent aa27f219cf
commit e24bfbcee1
4 changed files with 33 additions and 23 deletions

View File

@@ -19,7 +19,6 @@ using Newtonsoft.Json.Linq;
// 版权所有 胡少林
// 授权说明 模版仅授权个人使用如需商用请联系hsl200909@163.com洽谈
// 说明 JSON组件引用自james newton-king遵循MIT授权协议
// 说明 文件的图标来源于,感谢作者的无私分享
//============================================================================
@@ -546,6 +545,7 @@ namespace 软件系统服务端模版
str => JArray.Parse(str).ToObject<List<File_Save>>());
//文件信息存储路径
net_simple_file_server.FileSavePath = Application.StartupPath + @"\files.txt";
net_simple_file_server.ReadFromFile();
//文件存储路径
net_simple_file_server.File_save_path = Application.StartupPath + @"\Files";
net_simple_file_server.FileChange += Net_simple_file_server_FileChange;