rejetto forum

Manually modify files hits/server stats

0 Members and 1 Guest are viewing this topic.

Offline Hyttulo

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Hi guys, a quick question ;D
I've used another http file server to share some files, and now I want to move everything on HFS without losing the old statistics.
So, I have to manually change the number of total downloads, but I can't find where HFS store these stats.

Example: add myfile.zip and set immediately that it has already been downloaded 1562 times.

Is it possible?


Offline Hyttulo

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Update: I found out that these informations are stored in the virtual file system. Is there a way to edit them?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
save options to file

then you'll get an "hfs.ini" file
it's a text file
search for "downloads-total"


Offline Hyttulo

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Hi rejetto and thanks for your reply, but I already knew how to change the number of total downloads occurred on the server.
As specified, I would like to know if it's possibile to change the parameter of an individual file.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i'd quickly say no, because the format of .VFS files is quite complicated and would require you a lot of effort (and good programming skills)