SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to upload images to sharepoint via client object model but the images are so big and I would like how to queue this uploads in an asp .net app to not break because of the delay of the upload of the images.

Example: I want to upload 5 images and then with their internal uri update some list items, but what happens if the second image is very big and it last so much, I got an exception or time exhaust and the what happens with the other uploads, I fail uploading only 1 of five files. How can I be sure to upload all the files?

share|improve this question

Queuing long operations like this in an ASP.NET application is a bad idea.

It can be done (SharePoint implemented the SPLongOperation) but there are examples of how to do it in the Patterns and Practices guidance.

share|improve this answer
Thanks James, I know is not good but I don't know another way. – Luis Molina Jul 20 '14 at 11:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.