This project has moved. For the latest updates, please go here.

Move rather than copy

Aug 2, 2010 at 2:10 PM

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

Aug 3, 2010 at 1: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 8:13 AM
Edited Aug 3, 2010 at 8: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 11:26 AM

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.