2.修正了 不限流量 无效的bu'g。
3.修正了 目录设为只读(无list权限)时 无法进入目录的bug。
4.增加了 磁盘分区 的上传排行旁 显示功能。
数据库变动,需要在插件数据库中加这个数据表(FtpLog_DiskStatistic)
create TABLE FtpLog_DiskStatistic (
ID int(11) NOT NULL auto_increment ,
UserName varchar(50) not null ,
FDisk varchar(255) NOT NULL ,
FTP varchar(50) NOT NULL ,
KBDown float not NULL default 0 ,
KBUp float not NULL default 0 ,
FDown float not NULL default 0 ,
FUp float not NULL default 0 ,
UpTime float not NULL default 0 ,
DownTime float not NULL default 0 ,
PRIMARY KEY (ID)
);
上面是mysql的建表语句
下面是mssql的建表语句
create TABLE [dbo].[FtpLog_DiskStatistic] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[UserName] [nvarchar] (50) NOT NULL ,
[FDisk] [nvarchar] (255) NOT NULL ,
[FTP] [nvarchar] (50) NOT NULL ,
[KBDown] [float] not NULL default 0 ,
[KBUp] [float] not NULL default 0 ,
[FDown] [float] not NULL default 0 ,
[FUp] [float] not NULL default 0 ,
[UpTime] [float] not NULL default 0 ,
[DownTime] [float] not NULL default 0
) ON [PRIMARY]
GO
5.增加文件夹 上传排行榜 功能
FtpBBSFTPConfig表中 增加字段 EnableDiskTopUpload ,类型为 真/假(bit)
设置是否启用【文件夹方式】的上传排行榜。
该值设置为 true 时,进入目录显示的分区排行榜是该目录的上传排行榜。
设置为 false 时,显示的 该目录所在磁盘的上传排行榜。
http://rickw.cn/bbs/dispbbs.asp?boardID=6&ID=709&page=1
