发新话题
打印

如果删除文本中的一个用户 怎么使他后面的USER自减1呢?及相关的信息 急啊

如果删除文本中的一个用户 怎么使他后面的USER自减1呢?及相关的信息 急啊

[GLOBAL]
Version=6.2.0.1
PacketTimeOut=300
UseUPnP=0
MaxNrUsers=100
BlockFTPBounceAttack=1
AntiHammer=1
ProcessID=1912
[DOMAINS]
Domain1=0.0.0.0||21|网络anyIP|1|0|0
[Domain1]
ReplyHello=IIS FTP SERVER5
ReplyHelp=SEND MAIL TO OCP@3366.NET
ReplyNoAnon=对不起,密码错误!
ReplyNoCredit=对不起,信用额度不足
ReplyTooMany=当前用户过多.请稍后重试.
ReplyDown=服务器维护中.请稍后重试.
ReplyOffline=服务器维护中.请稍后重试.
Logfile=d:\sulog\%Y%N%D.txt
Logging=1
LogGETs=0
LogPUTs=0
LogIPNames=1
LogFileGETs=0
LogFilePUTs=0
LogFileIPNames=1
LogFileRotation=Dayly
MDTMCanChange=0
SignOn=d:\sulog\login.txt
SignOff=d:\sulog\login_out.txt
DirChangeMesFile=d:\sulog\change.txt
DirChangeMesFile2=d:\sulog\chang_help.txt


User1=test|1|0
User5=r|1|0
User7=s|1|0
User8=d|1|0
User9=f|1|0
User10=g|1|0



[USER=test|1|]
Password=ym6AC9703EC8AF2CA9B0CFC45550BA383D
HomeDir=f:\
RelPaths=1
PasswordLastChange=1148741076
TimeOut=90
Access1=F:\|RWAMLCDP
[USER=r|5|]
Password=e35624cd95b91018
HomeDir=f:\
RelPaths=1
PasswordLastChange=r
TimeOut=90
Access1=F:\|RWAMLCDP
[USER=s|7|]
Password=e395d80182db07ae
HomeDir=f:\
RelPaths=1
PasswordLastChange=s
TimeOut=90
Access1=F:\|RWAMLCDP
[USER=d|8|]
Password=0d750195b4487976
HomeDir=f:\
RelPaths=1
PasswordLastChange=d
TimeOut=90
Access1=F:\|RWAMLCDP
[USER=f|9|]
Password=754f91cc6554c9e7
HomeDir=f:\
RelPaths=1
PasswordLastChange=f
TimeOut=90
Access1=F:\|RWAMLCDP
[USER=g|10|]
Password=436671b6e533d8dc
HomeDir=f:\
RelPaths=1
PasswordLastChange=g
TimeOut=90
Access1=F:\|RWAMLCDP

TOP

每次将用户全读到数组中,然后再写回去。删除的时候,遍历数组,将数字递减。

TOP

好了 谢谢了

TOP

发新话题