SPSyncN 1.0.3

Install-Package SPSyncN -Version 1.0.3
dotnet add package SPSyncN --version 1.0.3
<PackageReference Include="SPSyncN" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SPSyncN --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SPSyncN, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SPSyncN as a Cake Addin
#addin nuget:?package=SPSyncN&version=1.0.3

// Install SPSyncN as a Cake Tool
#tool nuget:?package=SPSyncN&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SPSyncN - SharePoint .Net assets sync via Node.js

NuGet version Downloads Gitter chat


The wrapper for:

for usage in .Net assemblies.


Features

  • Upload a file to SharePoint document library
  • Upload a folder with structure and files to SharePoint
  • 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);

See more on GitHub

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 374 6/27/2019
1.0.2 538 8/17/2018
1.0.1 2,380 4/29/2018
1.0.0 628 2/27/2018
0.2.2 673 12/11/2017
0.2.1 587 12/11/2017
0.2.0 612 12/10/2017
0.1.0 665 12/9/2017

Dependencies update