This project has moved and is read-only. For the latest updates, please go here.

Move rather than copy

Aug 2, 2010 at 3:10 PM

Okay, last question: how can I move a file (locally) rather than copy it?

Aug 3, 2010 at 2:49 AM

You'll need to use the Lists Web Service again.  It's a two step process: first a copy, then a delete.  If you're talking about a document in a Document Library, then look at the Copy Web Service.


Aug 3, 2010 at 9:13 AM
Edited Aug 3, 2010 at 9:14 AM

Yeah I think its a document library. It's a file, not an item in a list. It required CopyIntoItemsLocal and UpdateListItems. Took me ages to get working because microsoft are really inconsisent with their terminology!

I have several examples now if you'd like them.

Aug 3, 2010 at 12:26 PM

Glad you solved it.  Examples would be great, as it might same others the trouble you went through.  I can post them to the documentation.