Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-26-2003, 04:01 AM   #1
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Question the credits disappear.

ioFTPD Version: ioFTPD-beta5-2-3r

operating system: Windows XP SP1 FR

services affected: ftp

how-to reproduce bug: up a file, look at your credit and finally delete the file and look at your credit. The credit disappeared

Description:
when a ppl upload a file of 50mb he get 150mb of credits
but when i delete the 50mb file his credit are deleted too
only the credit make by the 50mb file




Transferred 1 file totaling 48,828 KB
site myinfo
200-.------------------------------------------------------------------------.
200-| UserName........: test Flags.............: VUDE |
200-| Group...........: Admin Credits...........: 143 MB |
200-| Added By........: kraxdaz Ratio.............: 1:3 |
200-| Added On........: 10-26-2003 09:21 FTP Logins........: 1 |
200-| Max Sim Uploads.: Telnet Logins.....: 0 |
200-| Max Sim Dnloads.: HTTP Logins.......: 1 |
200-| Last login......: 10-26-2003 09:50 Upload cap........: 0 |
200-| Login count.....: 7 Download cap......: 0 |
200-| Homepath........: |
200-| VFSfile.........: |
200-| Tagline.........: |
200-|================================================= =======================|
200-| DayUp...........: 145 MB DayDn.............: 7 MB |
200-| WkUp............: 145 MB WkDn..............: 7 MB |
200-| MonthUp.........: 145 MB MonthDn...........: 7 MB |
200-| AllUp...........: 145 MB AllDn.............: 7 MB |
200-|================================================= =======================|
200-| Ip1...: *@* Ip2...: |
200-| Ip3...: Ip4...: |
200-| Ip5...: Ip6...: |
200-| Ip7...: Ip8...: |
200-'------------------------------------------------------------------------'
200 Command successful.




Deleted 1 File totaling 48,828 KB in 00:01.
site myinfo
200-.------------------------------------------------------------------------.
200-| UserName........: test Flags.............: VUDE |
200-| Group...........: Admin Credits...........: 0 MB |
200-| Added By........: kraxdaz Ratio.............: 1:3 |
200-| Added On........: 10-26-2003 09:21 FTP Logins........: 1 |
200-| Max Sim Uploads.: Telnet Logins.....: 0 |
200-| Max Sim Dnloads.: HTTP Logins.......: 1 |
200-| Last login......: 10-26-2003 09:50 Upload cap........: 0 |
200-| Login count.....: 7 Download cap......: 0 |
200-| Homepath........: |
200-| VFSfile.........: |
200-| Tagline.........: |
200-|================================================= =======================|
200-| DayUp...........: 145 MB DayDn.............: 7 MB |
200-| WkUp............: 145 MB WkDn..............: 7 MB |
200-| MonthUp.........: 145 MB MonthDn...........: 7 MB |
200-| AllUp...........: 145 MB AllDn.............: 7 MB |
200-|================================================= =======================|
200-| Ip1...: *@* Ip2...: |
200-| Ip3...: Ip4...: |
200-| Ip5...: Ip6...: |
200-| Ip7...: Ip8...: |
200-'------------------------------------------------------------------------'
200 Command successful.
kraxdaz is offline   Reply With Quote
Old 10-26-2003, 04:03 AM   #2
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

don't delete the files, wipe them
ADDiCT is offline   Reply With Quote
Old 10-26-2003, 11:59 AM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

ioftpd.ini:

###
# Command specific rules
#
Modify_Stats_On_Delete = False
Mouton is offline   Reply With Quote
Old 10-26-2003, 12:01 PM   #4
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

credits <-> transferstats ?
ADDiCT is offline   Reply With Quote
Old 10-26-2003, 12:17 PM   #5
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

what ?
Mouton is offline   Reply With Quote
Old 10-26-2003, 12:18 PM   #6
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

does Modify_Stats_On_Delete modify credits as well? or only the stats?
ADDiCT is offline   Reply With Quote
Old 10-27-2003, 02:32 AM   #7
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Default

my value is already on false but credits are modified

Modify_Stats_On_Delete = False
kraxdaz is offline   Reply With Quote
Old 10-27-2003, 05:32 AM   #8
tC!
Junior Member
ioFTPD Foundation User
 
Join Date: Mar 2003
Posts: 14
Default

well, that 's the way it is meant to be i think

credits != stats
tC! is offline   Reply With Quote
Old 10-27-2003, 10:00 AM   #9
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

stats = only stats, not credits too.
Mouton is offline   Reply With Quote
Old 10-27-2003, 11:45 AM   #10
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Default

D1 can you add this opption in your todo list?

Modify_Credits_On_Delete = False

that would be great

thx in advance
kraxdaz is offline   Reply With Quote
Old 10-27-2003, 12:16 PM   #11
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Maybe it sounds ok, but users would be able to upload 1 gb, del it and reup and get double credz :P
Maybe it could be made that only admin can delete without deleting credz.
Or just use site wipe like we all do for dirs.. (which doesnt function if a user only upped files without a new dir....)
Unique is offline   Reply With Quote
Old 10-27-2003, 12:20 PM   #12
kraxdaz
Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 86
Default

yes you are right
kraxdaz is offline   Reply With Quote
Reply

Tags
145, 200-|, download, ftp, upload

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:02 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)