rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Hyttulo on August 04, 2013, 07:37:52 PM

Title: Manually modify files hits/server stats
Post by: Hyttulo 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?
Title: Re: Manually modify files hits/server stats
Post by: Hyttulo 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?
Title: Re: Manually modify files hits/server stats
Post by: rejetto 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"
Title: Re: Manually modify files hits/server stats
Post by: Hyttulo 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.
Title: Re: Manually modify files hits/server stats
Post by: rejetto 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)