title: How to overwrite an existing document in SharePoint Library with a new document with different name but version should be maintain?
body: <p>In a SharePoint Online Document Library (version with x.x version enabled!) I have a PDF document, let's call it doc1.pdf which I want to replace by a new version.</p>
  
  <p>The new document I have is called doc2.pdf .</p>
  
  <p>I did not find a way yet to upload doc2.pdf and overwrite doc1.pdf. How can I do that?</p>
  
  <p>It seems that I can only overwrite the existing document, if the new one has the same name as the existing one. ?!</p>
  
  <p>Please reach me nagarajan.x.elumalai@gmail.com</p>