PDA

View Full Version : What user have downloaded ???


TOP_ACTION
11-24-2005, 12:59 PM
Hi, i'm new with IOFTPD... but right now all is working REALLY GREAT .. Best windows Ftp program fo shure..

my question is:

Can we get in the user stats what file he downloaded..

or

If I want to know if some user have downlaoded this file I will do a command and I will have all the name of the user who have downloaded the file.

so do you guys know if Ioftpd or a script can do that ??

THX A LOT !!1

ACiD
11-24-2005, 01:10 PM
ioShowlog by mr_F will allow you to issue a SITE command that will show you the most recently downloaded files, sorted or shown by several different parameters.

I know thats not the way you described the script, but this is the only script i know of that offers similar functionality.

something like ioBanana, ioA, or something else might offer a command that will do what you want, but i simply don't know because i don't use those scripts.

Mouton
11-24-2005, 05:32 PM
Install SITE EXEC (see Knowledge Base), then:


site exec type c:\ioftpd\logs\xferlog | find "username" | find "filename" | find "_ o"This will show one line for each download that "username" did of "filename".
If you replace "filename" by a directory name, it will give you one line per file downloaded in this directory.


site exec type c:\ioftpd\logs\xferlog | find "username" | find "_ o"Will show you all the files he downloaded (might take a while!)

This could pretty easily be made into a batch file, and called from a custom SITE command, with arguments being username and optional search string, but I'll leave that exercice to someone else.