Old 12-10-2004, 01:41 PM   #16
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

i made another thing
somebody can have it if they want it.
it doesn't deserve it's own script page, it will go in the next version of ioDLcount:

site dlcount
200-Interpol-Antics-Advance-(read_nfo)-2004-JUST has served ...
200-8.72 KB in 1 transfers of '00-interpol-antics-advance-2004-just.nfo' (8.72 KB)
200-
200-This directory has served 8.72 KB in 1 files
200 Command successful.


site dlcount
200-Constantines - Shine a Light has served ...
200-482.00 bytes in 1 transfers of '00-constantines_-_shine_a_light.m3u' (482.00 bytes)
200-2.75 MB in 1 transfers of 'constantines - 01 - national hum.mp3' (2.75 MB)
200-4.62 MB in 1 transfers of 'constantines - 02 - shine a light.mp3' (4.62 MB)
200-6.10 MB in 1 transfers of 'constantines - 03 - nighttime, anytime, it's alright.mp3' (6.10 MB)
200-3.82 MB in 1 transfers of 'constantines - 04 - insectivora.mp3' (3.82 MB)
200-3.72 MB in 1 transfers of 'constantines - 05 - young lions.mp3' (3.72 MB)
200-4.80 MB in 1 transfers of 'constantines - 06 - goodby baby and amen.mp3' (4.80 MB)
200-4.45 MB in 1 transfers of 'constantines - 07 - on to you.mp3' (4.45 MB)
200-3.50 MB in 1 transfers of 'constantines - 08 - poison.mp3' (3.50 MB)
200-2.66 MB in 1 transfers of 'constantines - 09 - scoundrel babes.mp3' (2.66 MB)
200-3.13 MB in 1 transfers of 'constantines - 10 - tiger and crane.mp3' (3.13 MB)
200-5.74 MB in 1 transfers of 'constantines - 11 - tank commander.mp3' (5.74 MB)
200-6.94 MB in 2 transfers of 'constantines - 12 - sub domestic.mp3' (3.47 MB)
200-
200-This directory has served 48.76 MB in 13 files
200 Command successful.

Code:
SETUP:

add to the site commands section of ioFTPD.ini ::

dlcount		= EXEC ..\scripts\ioDLcount_viewer.exe

and give it permissions however you want (i gave mine::)
dlcount       = * !A
you gotta exec 'site dlcount' from the dir you want to see the dlcount in

PEACE + MERRY XMAS

NOTE: ATTACHED VERSION (if mods approve it) ONLY WORKS WITH VERSION 1.2W of ioDLcount. PM me if you want a regular 1.2 version of this script. i gotta go study right now though

if script doesn't get attached/approved by mods then PM me and i'll put it somewhere else
Attached Files
File Type: zip iodlcount_viewer.zip (21.7 KB, 18 views)
mr_F_2 is offline   Reply With Quote
Old 12-19-2004, 06:04 PM   #17
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

looks like a lil nifty feature
*looking forward for a new version*

Best regards
wooolF[RM] is offline   Reply With Quote
Old 12-20-2004, 03:59 PM   #18
thunk
Member
 
Join Date: Oct 2004
Posts: 37
Default

can you make .ioFTPD.DLcount files hidden please?
thunk is offline   Reply With Quote
Old 12-20-2004, 04:47 PM   #19
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

yeah i will make them hidden in the next version. i'll try post a minor version update around december 27th or so, or shortly into the new year.
mr_F_2 is offline   Reply With Quote
Old 01-02-2005, 02:57 AM   #20
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default NEW VERSION 1.3W -- JAN 2ND 2005

New version, 1.3 is out. I only have released version 1.3W so far. I'm pondering not releasing 1.3 of the normal version (the version that writes to .ioFTPD.ioDLcount files). I see this method as more logical. If you want the normal version, please post here and i'll compile it. for now I think this should be fine.

~mr_F

CHANGELOG

ADDED: in normal version (writes .ioFTPD.ioDLcount files), those files are now marked as hidden
CHANGED: only add file to DLcount store if it's been downloaded, fixes problems with filesizes being incorrect (ie: user is uploading a file while another user finishes dling a different file. ioDLcount sees the file being uploaded, gets its current size and puts it in the ioDLcount store... this is bad, it will report this size even when the file has increased in size.

CHANGED: now ioDLcount doesn't log 0 byte files, for the reason of a 0-byte file not using any BW, sending no bytes, and it
writes an unecessary line to the log
CHANGED: modified a thingy, now ioDLcount can show proper units for total bytes downloaded vs filesize:
1.05 GB in 300 transfers of 'constantines - 12 - sub domestic.mp3' (3.47 MB)

get it here: http://www.ioftpd.com/scripts/script.php?id=136
mr_F_2 is offline   Reply With Quote
Old 01-03-2005, 01:45 AM   #21
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

my apologies.... i boinked something up and now it reports all files as the size of the first file uploaded. i'm going to fix it but don't have time right now (as in, not this minute, but hopefully tomorrow).

sorry to those 30 people who downloaded the release. I'm failure if it helps ease your mind :P
mr_F_2 is offline   Reply With Quote
Old 01-10-2005, 05:57 PM   #22
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

sorry... i ****ed something up, had no time to fix it ... but finally i did... so here's the next verison...

*sighs*
mr_F_2 is offline   Reply With Quote
Old 01-10-2005, 07:30 PM   #23
Jojje
Junior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 27
Default

A small question regarding the environment variables...
I just noticed that I will have all this variables in my ioftpd.env if I install this script.

REALPATH=%[environment(PATH)]
PATH=%[environment(PATH)]
PATH=%[$path]

Can this be a problem? Or is it OK?
Jojje is offline   Reply With Quote
Old 01-10-2005, 07:33 PM   #24
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by Jojje
A small question regarding the environment variables...
I just noticed that I will have all this variables in my ioftpd.env if I install this script.

REALPATH=%[environment(PATH)]
PATH=%[environment(PATH)]
PATH=%[$path]

Can this be a problem? Or is it OK?
you can't define a variable twice man... i recommend deleting PATH=%[environment(PATH)] line, as far as i know it's the equivalent as the PATH=%[$path] line
mr_F_2 is offline   Reply With Quote
Old 01-10-2005, 07:39 PM   #25
Jojje
Junior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 27
Default

Oki m8... Thx for the fast response... + the help...
Jojje is offline   Reply With Quote
Old 01-10-2005, 07:48 PM   #26
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally posted by mr_F
i recommend deleting PATH=%[environment(PATH)] line, as far as i know it's the equivalent as the PATH=%[$path] line
%[environment(PATH)] is the system PATH environment variable (type 'SET PATH' in a command prompt). Some applications require the PATH environment variable to be similar to the system one. However, %[$path] is the user's current working directory.

The ioFTPD environment variables were changed a while back.
http://www.ioftpd.com/board/showthre...&threadid=2356
neoxed is offline   Reply With Quote
Old 01-10-2005, 07:50 PM   #27
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

i will update accordingly
mr_F_2 is offline   Reply With Quote
Reply

Tags
connection, downloaded, file, hmc-cd2-diesel.part03.rar, [l]

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:14 PM.

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