You are here

Is there a way to overwrite attachments instead of removing them?

5 posts / 0 new
Last post
Rohml
Is there a way to overwrite attachments instead of removing them?

I have an update to my module but I don't want to add a new file (and reset the download count), is there a way for me to just overwrite the file and keep the download count intact?

  • up
    50%
  • down
    50%
jestemwlodzimierz

Nah, not really. You could always upload a new attachment titled "updated version" or something like that - this way you'll still see the satisfying download count on the old file while letting the users download the new one ;-)

  • up
    50%
  • down
    50%
jestemwlodzimierz

Though if anyone could prove me wrong on that one, I'd be grateful - I reupload my stuff all the time...

  • up
    50%
  • down
    50%
HipMaestro
HipMaestro's picture

You really want to maintain version control so others that have DL'd what has become an outdated version understand there is a more current one available.  It can get really confusing to a user to understand if they DL'd the most current when there are many iterations, so choose a naming convention that makes it easy to keep track, both for you and the users.

Many projects will keep all versions, old and new alike, listed as a historical record.  But the only version that really matters is the current one, the one that contains your most recent efforts. That's the number that should impress the most.

Madness... a blessing for the chosen few.

  • up
    50%
  • down
    50%
Proleric
Proleric's picture

I don't know of a solution. If you leave the old version there, people will persist in downloading it, so recently I've been using the file description to record the download count for earlier versions, as in this example:

https://neverwintervault.org/project/nwn1/module/dark-energy

The patch method (which is also demonstrated on that page) conserves the original download count. However, I'm only using that method to provide small fixes, because the main project is a very large download. Sooner or later, it becomes necessary to release an entirely new version, hence the file description method for historical download counts.

NWN and DAO adventures at http://proleric.com/

  • up
    100%
  • down
    0%