I'm using the statement below to upload documents into a folder in Content Server. It works fine if the document does not already exist in the CS folder, otherwise it throws an exception (which is caught).
string objectID = contentServiceClient.UploadContent(ref otAuthCS, contextID, fileAtts, fileStream);
How can I overwrite the existing document in Content Server if it already exists? I need to have the ability to update modified documents.