SPFile, SPFolder, SPVersion

Adds a file from the document library of one site to the Shared Documents document library of another site and its subsites.

Displays information about the folders in a site and all its subsites, including the site name, folder name, number of files in the folder, and total size of the files.

SPFileVersion use a indexer to return a single veriosn, such as collVersion(index)

Upload Document


Uses the EnsureParentFolder method to ensure that the destination folder exists.

Create an application page. Add HTMLInputFile, a textbox, a button and FormDigest control.

Include the following references:
using System.IO;
using Microsoft.Sharepoint;



Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: