title: Overwriting Artifactory artifacts (and history)?
body: <p>I'm currently trying to get a feel for <a href="https://www.jfrog.com/open-source/" rel="nofollow noreferrer">Artifactory</a> and playing around with deploying "generic" artifacts into a simple repo. (I'm using the web interface as well as a minimal Jenkins upload by <a href="https://wiki.jenkins-ci.org/display/JENKINS/Artifactory+Plugin#ArtifactoryPlugin-ConfiguringGeneric%28Freestyle%29Builds" rel="nofollow noreferrer">Upload File Spec</a>.)</p>
  
  <p>What I see is that I can deploy an artifact under the same name/path more than once, e.g. I have the artifact <code>http://localhost:8081/artifactory/martin-repo/martin/bla/foo.zip</code> in my <code>martin-repo</code> and I can deploy this as often as I want and it will just <em>overwrite</em> it.</p>
  
  <p>It will just list a </p>
  
  <blockquote>
    <ul>
    <li>Created:    25-01-17 23:20:09 +01:00 </li>
    <li>Last Modified:  25-01-17 23:32:33
    +01:00</li>
    </ul>
  </blockquote>
  
  <p>for the artifact under <code>http://localhost:8081/artifactory/webapp/#/artifacts/browse/tree/General/martin-repo/.../...</code></p>
  
  <h3>Questions --</h3>
  
  <ul>
  <li><p><strong>Is there some kind of history of different "versions" of an artifact in Artifactory?</strong></p></li>
  <li><p>Or is the old version just lost as soon as a new version under the same path is deployed?</p></li>
  <li><p>Is there any write-once option for a repository, so that each artifact path can by default only be uploaded once?</p></li>
  </ul>
  
  <hr>
  
  <p><em>Disclaimer</em>: I'm a total Noob here, so if I miss something, feel free to point out any RTFM.</p>
  
  <p>From the examples I see, it seems normally one would include a version number in the path to be deployed, but as far as I can tell, the path would be "client"-generated, so the server has to have some handle on this also?</p>