Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Want to upload docs by c# program into sharepoint

  Asked By: Staci    Date: Nov 24    Category: Sharepoint    Views: 17598

I have loaded images using the imaging web service and have had good
success. However there is not upload for a doc into a doc library that
I can find. i have looked into the microsoft sharepoint dll and have
gotten the dreaded can not load the dll messages since I am developing
remote tothe server and will be by necessity so...

Is there a method in one of the sharepoint web services that will
allow me to upload docs into the site of choice, and not a pic lib?



4 Answers Found

Answer #1    Answered By: Nathanial Mcclure     Answered On: Nov 24

No, there isn't and for pretty good reason - Web Services aren't really
very good at handling transfers of large files. I've suggest looking
into using WebDAV and/or FP-RPC (documented in the WSS SDK) instead.

Answer #2    Answered By: Lamar Mullins     Answered On: Nov 24

if you just want to upload  document , you can create document library  and upload
any kind of documents in it , and even you can upload pictures inside it , and
if you want to upload multiple documents you haveto install office 2007 (click
on the 2 last check boxes) in the setup . and it is working with me normal and i
can upload documents from remote and even VPN access .

Answer #3    Answered By: Stefan Mcbride     Answered On: Nov 24

Take a look at some info at Beake.info:

The key is emulating the Frontpage protocol, which included file
uploaden. The article will get you started.

Answer #4    Answered By: Lee Black     Answered On: Nov 24

Below is a code sample of the way I have uploaded documents in C# code to a
document library  in SharePoint 2003 & SharePoint 2007. I had saved an email
message to my hard drive and needed to upload  the saved file to SharePoint.

Didn't find what you were looking for? Find more on Want to upload docs by c# program into sharepoint Or get search suggestion and latest updates.