Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to send a file from one document library in SP 2010 to another document library in WSS 3.0. I was thinking web services would be the best way to do this. Can anyone point me to the right direction? Can web services be used to post documents outside of the SharePoint environment?

share|improve this question

2 Answers 2

You will probably have to Use Web services that will download file from SP 2010 and then Upload it to WSS 3.0

Download A folder

Uploading a document to WSS 3.0 can be done using this code

Uploading Document

But it entirely depends on your scenario as how you will download/upload them to relative servers.

share|improve this answer
    
I was under the assumption SharePoint.dlls can only be used on the same server as the request, thats why I need to use WebServices. Your links are not for web services... –  Mike Jul 18 '12 at 21:51
    
with respect I wonder if anyone gonna develop webservices and give you the code you need, and even in Web Services you need same code to make it work, It would be great if you read a little bit about webservices before asking anything else please :) –  Muhammad Raja Jul 19 '12 at 7:45
    
It's ok, I used a mailservice to send the file across to the other environment. –  Mike Jul 19 '12 at 15:01
    
@TimeToThine: I think OP is just saying they solved the problem another way - not that your answer was wrong. –  SPDoctor Jul 19 '12 at 15:46
    
@SPDoctor thanks for looking at it, question title and explanation was misleading then what mike wanted to do, so I edited it now :) –  Muhammad Raja Jul 19 '12 at 15:54
up vote 0 down vote accepted

I had the workflow send an email to the WSS library, instead of using webservices.

share|improve this answer

Your Answer

 
discard

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.