Author Topic: Manually modify files hits/server stats  (Read 870 times)

0 Members and 1 Guest are viewing this topic.

Offline Hyttulo

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Manually modify files hits/server stats
« on: August 04, 2013, 07:37:52 PM »
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
Re: Manually modify files hits/server stats
« Reply #1 on: August 07, 2013, 02:33:11 PM »
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: 12949
    • View Profile
Re: Manually modify files hits/server stats
« Reply #2 on: August 16, 2013, 09:30:50 PM »
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
Re: Manually modify files hits/server stats
« Reply #3 on: August 17, 2013, 05:13:03 PM »
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: 12949
    • View Profile
Re: Manually modify files hits/server stats
« Reply #4 on: August 18, 2013, 10:33:50 AM »
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)