GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - koltyakov/SPSyncN: SharePoint .Net assets sync via Node.js

BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
SPSyncN.Console
SPSyncN.Console
 
 
SPSyncN.Node
SPSyncN.Node
 
 
SPSyncN.Test
SPSyncN.Test
 
 
SPSyncN
SPSyncN
 
 
packaging/nuget
packaging/nuget
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SPSyncN.sln
SPSyncN.sln
 
 
azure-pipelines.yml
azure-pipelines.yml
 
 

Repository files navigation

SPSyncN - SharePoint .Net assets sync via Node.js

NuGet version Downloads Build Status Gitter chat


The wrapper for:

  • spsave
  • sppull
  • sp-download
  • sppurge

for usage in .Net assemblies.


Features

  • Upload a file to SharePoint document library
  • Upload a folder with structure and files to SharePoint
  • Upload a folder with structure and files to SharePoint in incremental mode
  • Download a file to SharePoint document library
  • Download a folder with structure and files to SharePoint
  • Remove a file from SharePoint document library
  • Remove a folder with all content from SharePoint

Installation

Install-Package SPAuthN
Install-Package SPSyncN

Usage

Options options = SPAuth.GetAuth("--configPath='./config/private.json' --forcePrompts=false");

Console.WriteLine("Upload a file...");
Upload.File("./Documents/TextFile.txt", "Shared Documents/File Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a file...");
Download.File("Shared Documents/File Upload Test/TextFile.txt", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a file...");
Remove.File("Shared Documents/File Upload Test/TextFile.txt", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Upload a folder...");
Upload.Folder("./Documents", "Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Upload a folder (incremental mode)...");
Upload.FolderDiff("./Documents", "Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Download a folder...");
Download.Folder("Shared Documents/Folder Upload Test", "./Download", options.SiteUrl, options.AuthOptions);

Console.WriteLine("Deleting a folder...");
Remove.Folder("Shared Documents/Folder Upload Test", options.SiteUrl, options.AuthOptions);

About

SharePoint .Net assets sync via Node.js

Topics

crazystuffdotnetnodejspublishingsharepointsharepoint-onlinesync

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.