I have sharepoint documents library and I have wcf service from where i should download new version of document file on button click.
So i got next method:
public void UpdateFile(SPListItem item, Stream newFileStream)
{
// How to update file?
}
And i want to change existing sp item file to new one from stream.
How to do this?