Question

I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the same name, i don't want to get an error message, but i want to update it.

By updating I mean, i want to upload the new document instead of an old one, but not like deleting whole item and then uploading file and all metadata etc, i just want to update the file and also i have versioning on the document library so basically it should increase in version ...

Any idea how to do that? Because now when i programmatically try to upload a file with the same name I get an error ..

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top