• Posts Tagged ‘Upload’

    Upload document from Local Machine to SharePoint Library using WebService

    by  • March 3, 2009 • SharePoint, WebService • 15 Comments

    In my previous post i’m explained about the members of Copy Web Service. For uploading a document from any local machine to sharepoint document library is possible by using CopyInToItems method. Though, the syntax for that method is, public uint CopyIntoItems (string SourceUrl,string[] DestinationUrls,FieldInformation[] Fields,byte[] Stream,out CopyResult[] Results) Parameters, SourceUrl: A String that contains the [...]

    Read more →

    Uploading File from Local Machine to SharePoint ListItem as an attachment

    by  • March 31, 2008 • SharePoint • 4 Comments

    To attach the file from Local Machine to SharePoint ListItem as an attachment, Import the System.IO namespace to use the Stream Class to read the file contents. Use System.Web.UI.WebControls.FileUpload control is named as fileUpload in code. Sample code for uploading the file from Local Machine to ListItem attachments as follows, //Check the FileUpload control has the [...]

    Read more →