- //byte array holding the contents of the file
- byte contents = File.ReadAllBytes(path);
- file.CheckIn("New version");
How to upload a file as a new version to a document library using the object model
a guest Feb 22nd, 2012 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data